Date: Wed, 23 Feb 2000 13:27:44 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: freebsd-hackers@freebsd.org Subject: disklabel warning Message-ID: <200002232127.NAA96202@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
We had a situation yesterday where someone had written an incorrect disklabel, and one partition was overlapping the swap partition, with the predictably disasterous results. It seems like 'mount' (either the program or in the kernel) could do a quick disklabel sanity check before mounting a partition and give a warning or error if the thing you're about to mount overlaps something already mounted (or swapon'd). How hard would this be to do? Where would be the right place in the code to do it? -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002232127.NAA96202>