NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/49467: Should disklabel.? refer to mbrlabel.? for how to update the disklable from the mbr?
The following reply was made to PR bin/49467; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/49467: Should disklabel.? refer to mbrlabel.? for how to update the disklable from the mbr?
Date: Thu, 11 Dec 2014 18:49:25 +0000 (UTC)
andrew.cagney%gmail.com@localhost writes:
> 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.
It's strange language.
The disklabel data structure on the disk is searched in the first 8k of
type 169 MBR partitions and in the first 8k of the physical disk. This
has nothing to do with the contents of the disklabel, only with the
position of the data structure on disk.
>Should it instead refer the user to mbrlabel (turns out using that is easy).
mbrlabel is a tool that updates a disklabel from the MBR partition
table. It changes the contents of the disklabel data structure.
Home |
Main Index |
Thread Index |
Old Index