Add a new command, /sbin/diskinfo, which uses the revamped DIOCGPART
commit189a372da8f81473ddf54a8ac9f5bd0444380f79
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 15 May 2007 17:53:11 +0000 (15 17:53 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 15 May 2007 17:53:11 +0000 (15 17:53 +0000)
tree4daec8c4a6771e02d928803ff08fb57fff378a6a
parent7d4a72b47ff4b5c353aa13ccd4b703072afe5f0c
Add a new command, /sbin/diskinfo, which uses the revamped DIOCGPART
ioctl to extract information from storage devices.  As an added bonus,
the physical byte offset relative to the base of the raw device
for the beginning of a slice or partition can be displayed.  Great for
debugging.
sbin/Makefile
sbin/diskinfo/Makefile [new file with mode: 0644]
sbin/diskinfo/diskinfo.8 [new file with mode: 0644]
sbin/diskinfo/diskinfo.c [new file with mode: 0644]
sbin/disklabel/disklabel.8