Date: Fri, 1 Jan 1999 06:14:45 -0800 (PST) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen fstab.c Message-ID: <199901011414.GAA29623@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1999/01/01 06:14:45 PST
Modified files:
lib/libc/gen fstab.c
Log:
Ignore the fs_spec entry for "/" in /etc/fstab if the device which
is actually mounted on "/" can be determined using statfs() and is
in /dev. This fixes fsck operating on the wrong device when the
fs_spec entry is only an alias. The aliased case became more
dangerous when the ROOTSLICE_HUNT hack was committed in mount(8).
ROOTSLICE_HUNT may be unnecessary now.
Revision Changes Path
1.5 +29 -0 src/lib/libc/gen/fstab.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901011414.GAA29623>
