On Thu, Mar 26, 2009 at 11:17:27PM -0400, Nick Guenther wrote:
> So then does 'fdisk -u' also install a disklabel [to sector 0 of the
> disk]? That surprises me, I'd think that disklabel would be for that,
> and the man pages don't explain what is going on.
> 
> -Nick
> 
> On 26/03/2009, Brynet <[email protected]> wrote:
> > Jesus(?) wrote:
> >> The question is: What's the mainly difference between 'update' and 'write'
> >> on fdisk program?
> >
> > The 'update' command, or.. the -u option.. updates the
> > MBR(/usr/mdec/mbr) boot program without changing the partition table.
> > The 'write' command commits the partition table to disk.
> >
> > You may want to read fdisk(8) again.
> >
> > -Brynet

fdisk doesn't write a disklabel to disk, but a valid MBR is read
by the disklabel program and when it finds an OpenBSD MBR partition
it uses the info from that MBR partition to set up its initial limits.

.... Ken

Reply via email to