Date: Wed, 8 Mar 2006 14:20:14 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom/label g_label_ufs.c Message-ID: <200603081420.k28EKETW007156@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2006-03-08 14:20:14 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/geom/label g_label_ufs.c
Log:
MFC: sys/geom/label/g_label_ufs.c 1.10
We need to check if file system size is equal to provider's size, because
sysinstall(8) still bogusly puts the first partition at offset 0 instead of 16,
so glabel/ufs will find file system on a slice instead of partition.
Before sysinstall is fixed, we must keep this code, which means that we
wont't be able to detect UFS file systems created with 'newfs -s ...'.
PS. bsdlabel(8) creates partitions properly.
Approved by: re (hrs)
Revision Changes Path
1.3.2.3 +7 -2 src/sys/geom/label/g_label_ufs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603081420.k28EKETW007156>
