From owner-cvs-all Fri Jan 1 06:14:53 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA13070 for cvs-all-outgoing; Fri, 1 Jan 1999 06:14:53 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA13065; Fri, 1 Jan 1999 06:14:52 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id GAA29623; Fri, 1 Jan 1999 06:14:45 -0800 (PST) Date: Fri, 1 Jan 1999 06:14:45 -0800 (PST) Message-Id: <199901011414.GAA29623@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen fstab.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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