You are not logged in.
Pages: 1
autofs was set as shown in the wiki for my laptop's cd /dvd drive (/dev/hdc) my usb cd drive (/dev/scd0) and my usb pen (/dev/sda). None is being automounted since last upgrade:
# /etc/rc.d/autofs restart
:: Stopping automounter [FAIL]
:: Starting automounter [BUSY] /media [DONE]
If no error is reported when the daemon starts why is there an error when it stops? I assume it never started in the first place.
I've checked all posts around that mention autofs problems but none got me anywhere.
I feel a bit lost
Could this be related to some udev issue?
Offline
It would help if you post your conf.d/autofs, autofs.media and ls -l /media output here.
to live is to die
Offline
/etc/conf.d/autofs:
localoptions=''
daemonoptions='-g'
/etc/autofs/auto.media:
cd0 -fstype=iso9660,rw,nodev,nosuid :/dev/hdc
cd1 -fstype=iso9660,rw,nodev,nosuid :/dev/scd0
usb -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sda
/etc/autofs/auto.master:
/media /etc/autofs/auto.media --timeout 3
now this:
]$ ls -l /media
ls: /media: No such file or directory
/media disappears after boot. weird.
I had the same configs before upgrade and it was working fine.
Tried to reinstall autofs but didn't work.
Nevertheless I'm able to mount the devices manually.
Offline
This is really old but I'm going to post here, in case someone else stumbles across this same post looking for a solution to not being able to start autofs.
Make sure you are running the autofs4 module
modprobe autofs4
Edit /etc/rc.conf to add "autofs4" to the "MODULES=" line
Offline
Pages: 1