]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
We need to check if file system size is equal to provider's size, because
authorPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 4 Mar 2006 19:41:54 +0000 (19:41 +0000)
committerPawel Jakub Dawidek <pjd@FreeBSD.org>
Sat, 4 Mar 2006 19:41:54 +0000 (19:41 +0000)
commit99c889fc7db4adf0e79a2ef61025e4ce0d5dc544
tree3c2c55a540d4ef2116d732189520e5b87df2e8b0
parent7a0f8e463121638660ba294b6ca690ad89c482dc
We need to check if file system size is equal to provider's size, because
sysinstall(8) still bogusly puts first partition at offset 0 instead of 16,
so glabel/ufs will find file system on 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.

MFC after: 3 days
sys/geom/label/g_label_ufs.c