2015-10-07 1:14 GMT+08:00 Theo de Raadt <dera...@cvs.openbsd.org>:

> > > But your fingers don't know it.
> > >
> > >
> > Right, time for fingers to learn.
> >
> > Will look forward to learn how it "saved many a butt" and what's the
> lowest
> > "safe" offset (..64 + 8*2 = 81+?..) (if that will actually make sense
> when
> > understanding the whole thing) through the Q:s in my last post?
>
> 8K is the smart offset.
>

Wait, sorry - so the disklabel tool says that the c partition starts at
offset 0 , that's logical indeed as data always starts at offset 0.

By some reason, the disklabel tool however doesn't want partitions on the
first 64 sectors (console dump below), i.e. on the first 32KB (why?).

The 8KB you talk about now, is that *in addition* to the first 32KB then,
so >40KB i.e all sectors starting with and above 80 are safe?


And, does it break anything or otherwise require administrative
consideration, that there is no partition covering those 8KB of disklabel
data (i.e. "installboot" won't misbehave or alike)?


# disklabel -E wd0
Label editor (enter '?' for help at any prompt)
> p
OpenBSD area: 64-3907024065; size: 3907024001; free: 3907024001
#                size           offset  fstype [fsize bsize  cpg]
  c:       3907029168                0  unused
> a
partition: [a]
offset: [*64*]

Reply via email to