- Joined
- Aug 25, 2001
- Location
- Ontario, Canada
Trying to set up AutoMount / AutoFS on my file server for easy access to my CD-Roms. I've copied the configs that I have had working successfully elsewhere, but no luck, nor errors..
/etc/autofs/auto.master:
/etc/autofs/auto.auto:
/dev/hdc and /dev/hdd are my cdroms. AutoFS & AutoFS4 are built into the kernel. When I start the autofs service, it starts successfully:
/mnt/Media does exist, but is empty (according to LS)
So, automount is working, minus the ghosting (cd0 and cd1 don't show up)
Any ideas?
Edit: After accessing the CD, it mounts it, and will umount it after the timeout (defaults to 60 seconds), then I can freely eject it. So the problem now is that ghosting is not happening.
/etc/autofs/auto.master:
Code:
/mnt/Media /etc/autofs/auto.auto --ghost
/etc/autofs/auto.auto:
Code:
cd0 -fstype=iso9660,ro :/dev/hdc
cd1 -fstype=iso9660,ro :/dev/hdd
/dev/hdc and /dev/hdd are my cdroms. AutoFS & AutoFS4 are built into the kernel. When I start the autofs service, it starts successfully:
Code:
6859 ? S 0:00 /usr/sbin/automount --timeout 60 --ghost --pid-file /var/run/autofs.mnt.Media.pid /mnt/Media file /etc/autofs/auto.auto
/mnt/Media does exist, but is empty (according to LS)
So, automount is working, minus the ghosting (cd0 and cd1 don't show up)
Any ideas?
Edit: After accessing the CD, it mounts it, and will umount it after the timeout (defaults to 60 seconds), then I can freely eject it. So the problem now is that ghosting is not happening.
Last edited: