git: boot - Improve lsdev

Alex Hornung alexh at crater.dragonflybsd.org
Wed Nov 18 04:13:45 PST 2009


commit 0a7482e09d698648e5915d949975c4324a970ddc
Author: Alex Hornung <ahornung at gmail.com>
Date:   Wed Nov 18 11:53:46 2009 +0000

    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.

Summary of changes:
 sys/boot/pc32/libi386/biosdisk.c |  142 +++++++++++++++++++++++++------------
 1 files changed, 96 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a7482e09d698648e5915d949975c4324a970ddc


-- 
DragonFly BSD source repository





More information about the Commits mailing list