HardenedBSD/sbin/mount_ifs
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
..
extern.h
getmntopts.3
getmntopts.c
Makefile If we are mounting the root filesystem, and we're accessing it through 1998-03-08 14:50:04 +00:00
mntopts.h
mount_ufs.c If we are mounting the root filesystem, and we're accessing it through 1998-03-08 14:50:04 +00:00
mount.8 Add mount_devfs(8) to the SEE ALSO section. 1997-12-01 00:44:16 +00:00
mount.c Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman) 1998-03-08 09:59:44 +00:00
pathnames.h
vfslist.c