Date: Mon, 24 Nov 1997 01:59:28 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de> Cc: hackers@freebsd.org, Burton Sampley <bsampley@bsampley.vip.best.com> Subject: Re: problem mounting /cdrom w/ 2.2.5-R (fwd) Message-ID: <Pine.BSF.3.95.971124015720.29845D-100000@current1.whistle.com> In-Reply-To: <19971124093009.OQ45903@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
mount /cdrom uses the read-only flag becasue it's in the fstab. I'm not convinced that mount_cd9660 sets it by default. (not seen the code, but that might be the kind of difference that may be happenning.....) On Mon, 24 Nov 1997, J Wunsch wrote: > 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?Pine.BSF.3.95.971124015720.29845D-100000>