boot - Improve lsdev
authorAlex Hornung <ahornung@gmail.com>
Wed, 18 Nov 2009 11:53:46 +0000 (11:53 +0000)
committerAlex Hornung <ahornung@gmail.com>
Wed, 18 Nov 2009 12:01:58 +0000 (12:01 +0000)
commit0a7482e09d698648e5915d949975c4324a970ddc
tree46a34dd6c8e35073a8fea5c73f58ee7ed6f15345
parent4dda94be12ec049c421d039b15f34b55952132d0
boot - Improve lsdev

Following functionality has been added to boot's lsdev:

* Add support for disklabel64

* Add knowledge about other partition types such as HAMMER, ZFS and JFS2

* Add knowledge about NetBSD slices, and also try to read the netbsd
  disklabel

Dragonfly-bug: http://bugs.dragonflybsd.org/issue1536

NOTE: there is still some problem with the offset of partitions in a
disklabel64. For some reason, the offset is always zero.
sys/boot/pc32/libi386/biosdisk.c