Add a new command, /sbin/diskinfo, which uses the revamped DIOCGPART
commitfc833a307df1e94388166704bd5f272024eb9bb5
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)
tree91a735141893e17663f27bf83e14f2fd6598b26a
parent3b8e9eb9e52c8fd673115d7fb002ffc3a7ebebd5
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