HardenedBSD/sbin/mount_ifs/Makefile
Mike Smith 95f37fa61f 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
1998-03-08 14:50:04 +00:00

13 lines
299 B
Makefile

# @(#)Makefile 8.6 (Berkeley) 5/8/95
# $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
CFLAGS+=-DROOTSLICE_HUNT
.include <bsd.prog.mk>