kern/70611: MBR type no longer visible in GEOM dumps

Michiel Boland Michiel.Boland at internl.net
Wed Aug 18 01:20:20 PDT 2004


>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 at 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:


More information about the freebsd-bugs mailing list