From owner-freebsd-hackers Mon Nov 24 00:50:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA17422 for hackers-outgoing; Mon, 24 Nov 1997 00:50:47 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id AAA17410 for ; Mon, 24 Nov 1997 00:50:39 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id JAA02658; Mon, 24 Nov 1997 09:50:38 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id JAA03245; Mon, 24 Nov 1997 09:30:09 +0100 (MET) Message-ID: <19971124093009.OQ45903@uriah.heep.sax.de> 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) References: <19971124084750.LV48775@uriah.heep.sax.de> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Burton Sampley on Nov 24, 1997 00:05:33 -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)