Date: Tue, 23 Dec 1997 01:56:23 +1100 (EST) From: akm@sneaker.net.au To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/5362: mount incorrectly reports / as an NFS export Message-ID: <199712221456.BAA01511@marty.sneaker.net.au> Resent-Message-ID: <199712221500.HAA26877@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 5362 >Category: kern >Synopsis: mount incorrectly reports / as an NFS export >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 22 07:00:01 PST 1997 >Last-Modified: >Originator: Andrew Milton >Organization: Sneaker Net >Release: FreeBSD 3.0-971006-SNAP i386 >Environment: P133 (also on P233MMX) Adaptec PCI 2940 Ultra Fast Wide Busmaster Adapter 48 Mb RAM 3 x 2.1 IBM Ultra Fast Wide disks. 1 x NEC 3x Speed SCSI CDROM >Description: mount incorrectly reports / as being NFS exported when /cdrom is present in /exports but has not yet been mounted. This tends to scare people until they realise what has gone wrong :-) NFS mounting / is not possible. after mounting /cdrom mount reports correct results. after umounting /cdrom, mount reports correct results from that point forward. >How-To-Repeat: I have this in my /etc/exports: /export/ftp/FreeBSD/3.0-971006-SNAP /cdrom -alldirs -mapall=nobody I am also sharing /cdrom, and /export/dos, and /home/* via samba root@marty~# mount /dev/sd0a on / (NFS exported, local) /dev/sd2s1e on /export (NFS exported, local) /dev/sd1s1e on /home (local) /dev/sd0s1f on /usr (local) /dev/sd0s1e on /var (local) procfs on /proc (local) root@marty~# mount /cdrom root@marty~# mount /dev/sd0a on / (local) /dev/sd2s1e on /export (NFS exported, local) /dev/sd1s1e on /home (local) /dev/sd0s1f on /usr (local) /dev/sd0s1e on /var (local) procfs on /proc (local) /dev/cd0a on /cdrom (NFS exported, local, read-only) root@marty~# umount /cdrom root@marty~# mount /dev/sd0a on / (local) /dev/sd2s1e on /export (NFS exported, local) /dev/sd1s1e on /home (local) /dev/sd0s1f on /usr (local) /dev/sd0s1e on /var (local) procfs on /proc (local) >Fix: Unknown. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712221456.BAA01511>