Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Mar 2008 11:40:55 +0100
From:      Tektonaut <tektonaut@fuckner.net>
To:        freebsd-questions@freebsd.org
Subject:   bsdlabel offset
Message-ID:  <47DA5637.7000209@fuckner.net>

next in thread | raw e-mail | index | archive | help
Hi,

following bsdllabel output caught my attention:

#        size    offset    fstype   [fsize bsize bps/cpg]
  a:  2097152         0    4.2BSD     2048 16384 28552 
  b:  4194304   2097152      swap                    
  c: 312576642        0    unused        0     0         # "raw" part, don't edit
  d: 33554432   6291456    4.2BSD     2048 16384 28552 
...

I created this disk with sade or sysinstall. What I'm not sure
about is that partition 'a' has an offset of 0. With an 8k big
/boot/boot I would guess offset should be 16block large.

But since the disk is booting, some boot1 loader ist located at
sector 0 (from the beginning of this slice). How is it assured,
that the first block will never be overwritten? Where is boot1
located, where boot2?

Comparing the first sector with boot and boot1 differs already
at the first char. (and there were no updates so far)


Little bemused regards,
Adam

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47DA5637.7000209>