cvs commit: src/sys/geom/label g_label.c g_label.h g_label_iso9660.c g_label_msdosfs.c g_label_ufs.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Mar 3 13:46:16 PST 2006


On Thu, Mar 02, 2006 at 10:48:06AM -0500, Scott Ullrich wrote:
+> On 3/2/06, Christian Brueffer <chris at unixpages.org> wrote:
+> > For the record, I've heard another report of this yesterday.
+> 
+> I was also bitten by this on my embedded versions and I hosed my
+> primary firewall.

Sorry guys for the brakeage, but the problem is more complex.

What you see is actually bug in how sysinstall creates partitions.
Normally, bsdlabel(8) puts first partition at offset 16. Sysinstall
however puts first partition at offset 0. There are much more problems
because of this and this is one of them - glabel finds UFS magic on
slice, because both slice and partition start at the same offset.

If I backout this change, glabel/ufs cannot be used for file systems
created with -s option. If I leave the change, glabel/ufs won't detect
UFS file system on a first partition created by sysinstall...

Ehh, I'll back it out of course. God, why sysinstall cannot just die?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060303/0cbfb0f7/attachment.bin


More information about the cvs-all mailing list