You are not logged in.

#1 2009-07-23 03:50:49

matthewbauer
Member
From: /usa/ks
Registered: 2009-07-20
Posts: 86

Problems with AutoFS

I have the following auto.master file:

/media/disc                     -fstype=auto,user,suid        :/dev/sr0
/media/ipod                     -fstype=vfat,user,suid        :/dev/disk/by-uuid/3141-5926
/media/ds-sd                    -fstype=vfat,user,suid        :/dev/disk/by-uuid/E1E3-62A2

What is the problem with it? I get all kinds of error from /var/log/daemon.log | tail:

Jul 22 11:11:47 laptop automount[2889]: /
Jul 22 11:11:47 laptop automount[2889]: :
Jul 22 11:11:47 laptop automount[2889]: /
Jul 22 11:11:47 laptop automount[2889]: /
Jul 22 11:11:47 laptop automount[2889]: /
Jul 22 11:11:47 laptop automount[2889]: /
Jul 22 11:11:47 laptop automount[2889]: syntax error while parsing map.
Jul 22 11:11:47 laptop automount[2889]: syntax error in map near [ bogus option ]
Jul 22 11:11:47 laptop automount[2889]: -
Jul 22 11:11:47 laptop automount[2889]: syntax error while parsing map.

Last edited by matthewbauer (2009-07-23 03:52:10)


Libertarian Arch Linux User

Offline

#2 2009-07-23 19:50:51

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Problems with AutoFS

Hello matthewbauer!

Did you read this ?
http://wiki.archlinux.org/index.php/Autofs

Offline

#3 2009-07-27 20:05:40

matthewbauer
Member
From: /usa/ks
Registered: 2009-07-20
Posts: 86

Re: Problems with AutoFS

I finally figured out the problem: I needed an empty line at the end of the file.


Libertarian Arch Linux User

Offline

#4 2009-07-29 20:44:04

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Problems with AutoFS

Interesting, the default doesn't contain it, but it's never bad to put a LF to the end of file smile

Offline

Board footer

Powered by FluxBB