Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2004 10:19:06 +0200 (MEST)
From:      Michiel Boland <Michiel.Boland@internl.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/70611: MBR type no longer visible in GEOM dumps
Message-ID:  <200408180819.i7I8J6CP002734@brakkenstein.nijmegen.internl.net>
Resent-Message-ID: <200408180820.i7I8KKcM075506@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70611
>Category:       kern
>Synopsis:       MBR type no longer visible in GEOM dumps
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 18 08:20:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michiel Boland
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD leefnet.office.internl.net 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Aug 17 16:49:26 CEST 2004 root@leefnet.office.internl.net:/usr/obj/usr/src/sys/LEEFNET i386


	
>Description:
The 'type' field is missing from the MBR in GEOM dumps.
This breaks (via libdisk) the FDISK partition editor in sysinstall.
See also
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=500285+0+current/freebsd-current
	
>How-To-Repeat:
Type sysctl -b kern.geom.dumptxt
The ouput contains lines like the following:

1 MBR ad0s1 39999504384 512 i 0 o 32256

The line above should have a ' ty ' entry appended.
	
>Fix:
The breakage occurred after phk's 'Use default method initialization on geoms'
commit, dated 2004-08-08 06:49:07 UTC. I guess some parts of this commit should
be reverted.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408180819.i7I8J6CP002734>