path: root/sbin/mount/Makefile
diff options
authorMike Smith <msmith@FreeBSD.org>1998-03-08 14:50:04 +0000
committerMike Smith <msmith@FreeBSD.org>1998-03-08 14:50:04 +0000
commit95f37fa61f0369de0371a6bf8130069d219f5fc6 (patch)
tree9c202d41110e8842a701d950e96145041edec1a5 /sbin/mount/Makefile
parente8eb82a81cc4c0aa5731030989a8647bdc655cc0 (diff)
If we are mounting the root filesystem, and we're accessing it through
something that might refer to the compatability slice rather than the correct slice entry, try all the possible slice entries first. This is a compatability hack to deal with the case where the kernel has correctly mounted the root filesystem out of its slice, but the user has not updated their /etc/fstab file to reflect this. A diagnostic is emitted if the mount succeeds, indicating that the file should be updated. This is a prelude to fixing the kernel to behave as alluded to above. Reviewed by: (discussed with) julian, phk
Notes: svn path=/head/; revision=34304
Diffstat (limited to 'sbin/mount/Makefile')
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/mount/Makefile b/sbin/mount/Makefile
index df4ebcf8d3c1..e899d4ed6f75 100644
--- a/sbin/mount/Makefile
+++ b/sbin/mount/Makefile
@@ -1,9 +1,12 @@
# @(#)Makefile 8.6 (Berkeley) 5/8/95
-# $Id: Makefile,v 1.5 1997/08/25 20:38:35 bde Exp $
+# $Id: Makefile,v 1.6 1998/01/20 10:39:57 bde Exp $
PROG= mount
SRCS= mount.c mount_ufs.c getmntopts.c vfslist.c
MAN8= mount.8
# We do NOT install the getmntopts.3 man page.
+# We support the ROOTSLICE_HUNT hack
.include <bsd.prog.mk>