]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC change 196383:
authormarcel <marcel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2009 16:40:45 +0000 (16:40 +0000)
committermarcel <marcel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2009 16:40:45 +0000 (16:40 +0000)
commitbc1c5a703e6215f65bc26bdcec13963e07eb4398
tree7c9f84651b5dc2c9bcd486d3d5b12fa366f14385
parentba746e7e34a793d104d32f18a36246c0025a365d
MFC change 196383:
 Remove the dependency on the kernel -- in particular the gctl request to
 the GEOM_BSD class -- to translate the absolute offsets in the label to
 relative ones. This makes bslabel(8) work correctly with GEOM_PART and
 also when the BSD label is nested under arbitrary partitioning schemes.

Inspired by: Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@196384 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/bsdlabel/bsdlabel.c