1832592 Members
3042 Online
110043 Solutions
New Discussion

Automount CD-Rom

 
Jan Sundin
Occasional Contributor

Automount CD-Rom

I'm trying to set up automount for CD-Rom so that ordinary users can mount the CD easily. So far I've done this

/etc/auto_master:
/net -hosts -nosuid,soft
/- auto_cdrom timeo=5

/etc/auto_cdrom:
/cdrom -fstype=cdfs,ro :/dev/dsk/c1t2d

/etc/auto.update:
/etc/auto_master
/etc/auto_cdrom

/etc/rc.config.d/nfsconf:
...
#
AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-t 5 -f $AUTO_MASTER"
..
#
AUTOFS=1
AUTOMOUNT_OPTIONS="-t 5"
AUTOMOUNTD_OPTIONS="-T"


The mount of CD seems fine, just enter directory /cdrom and the cdrom mounts. The problem is the umount of /cdrom that never occurs. The automount.log looks like this (every 20 seconds):

Oct 30 13:24:05 (thread 1) UNMOUNT REQUEST:
Oct 30 13:24:05 (thread 1) dev=1f012000 rdev=0 direct
Oct 30 13:24:05 (thread 1) UNMOUNT REPLY : status=1


Have anyone tried this ??
I'm out of ideas!!

Thanks in advance
/Jan
Jan
1 REPLY 1
harry d brown jr
Honored Contributor

Re: Automount CD-Rom


Make sure you have the latest patches.

live free or die
harry
Live Free or Die