NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/49467: Should disklabel.? refer to mbrlabel.? for how to update the disklable from the mbr?



>Number:         49467
>Category:       bin
>Synopsis:       Should disklabel.? refer to mbrlabel.? for how to update the disklable from the mbr?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 11 16:00:00 +0000 2014
>Originator:     Andrew Cagney
>Release:        7_BETA userland
>Organization:
>Environment:
With a current kernel: NetBSD morgan 7.99.2 NetBSD 7.99.2 (GENERIC) #21: Thu Nov 27 18:24:36 EST 2014  root@morgan:/home/netbsd/trunk/sys/arch/amd64/compile/obj/GENERIC amd64

>Description:
disklabel.? contains the text:

     disklabel will find, and update if requested, labels in the first 8k of
     type 169 (NetBSD) MBR labels and within the first 8k of the physical
     disk.  On other systems disklabel will only look at the start of the
     disk.  The offset at which the labels are written is also system
     dependent.

I don't believe this is correct.  If it is, it isn't clear how to do this.
Should it instead refer the user to mbrlabel (turns out using that is easy).

>How-To-Repeat:
install netbsd with some unused mbr space
install some other os (linux) onto that spare space
try to update netbsd's disklabel from the mbr information

>Fix:



Home | Main Index | Thread Index | Old Index