Date: Mon, 24 Nov 1997 09:30:09 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.ORG Cc: bsampley@bsampley.vip.best.com (Burton Sampley) Subject: Re: problem mounting /cdrom w/ 2.2.5-R (fwd) Message-ID: <19971124093009.OQ45903@uriah.heep.sax.de> In-Reply-To: <Pine.BSF.3.96.971123235330.27021F-100000@bsampley>; from Burton Sampley on Nov 24, 1997 00:05:33 -0800 References: <19971124084750.LV48775@uriah.heep.sax.de> <Pine.BSF.3.96.971123235330.27021F-100000@bsampley>
next in thread | previous in thread | raw e-mail | index | archive | help
As Burton Sampley wrote: > Actually, if I force it with either mount_cd9660 /dev/cd0a or mount -t > cd9660 /dev/cd0a it *always* works. That's really weird, since the other mount commands don't do anything else: uriah # ktrace -i mount /cdrom uriah # kdump | grep -E 'NAMI|exec' 3230 ktrace NAMI "/etc/malloc.conf" 3230 ktrace CALL execve(0xefbfd330,0xefbfd7f4,0xefbfd800) 3230 ktrace NAMI "/sbin/mount" 3230 mount RET execve 0 3230 mount NAMI "/etc/fstab" 3230 mount NAMI "/etc/malloc.conf" 3230 mount NAMI "." 3230 mount NAMI "/" 3230 mount NAMI "cdrom" 3230 mount NAMI "cdrom" 3230 mount NAMI "/cdrom" 3231 mount CALL execve(0xefbfd09c,0xefbfd600,0xefbfd808) 3231 mount NAMI "/sbin/mount_cd9660" 3231 mount_cd9660 RET execve 0 3231 mount_cd9660 NAMI "/etc/malloc.conf" 3231 mount_cd9660 NAMI "/dev/cd0a" 3231 mount_cd9660 NAMI "/cdrom" 3231 mount_cd9660 NAMI "/dev/cd0a" 3230 mount NAMI "/var/run/mountd.pid" As you can see, `mount' has subsequently called `mount_cd9660', to do the dirty work of mounting a cd9660 filesystem it doesn't know anything about. The trace also shows that the generic mount command doesn't touch /dev/cd0a at all. > I assumed the media not present erorr was just the cdrom > complaining about being booted w/o a cd. Nope. If you've got `noauto' in your fstab, the CD won't be touched at boot time after the device probe happened (which was earlier). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971124093009.OQ45903>