Date: Sun, 8 Mar 1998 06:50:07 -0800 (PST) From: Michael Smith <msmith@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/mount Makefile mount_ufs.c Message-ID: <199803081450.GAA06511@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 1998/03/08 06:50:07 PST Modified files: sbin/mount Makefile mount_ufs.c Log: 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 Revision Changes Path 1.7 +4 -1 src/sbin/mount/Makefile 1.11 +34 -2 src/sbin/mount/mount_ufs.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?199803081450.GAA06511>