Add a new command, /sbin/diskinfo, which uses the revamped DIOCGPART
commit3d9465288e7604f6adf8b10fe6be8ff79cdafda5
authordillon <dillon>
Tue, 15 May 2007 17:53:11 +0000 (15 17:53 +0000)
committerdillon <dillon>
Tue, 15 May 2007 17:53:11 +0000 (15 17:53 +0000)
tree699dec03f3cac2b21c627edb5a3b34b9f63fcdcf
parente4d11a85a44f270b69988bc8c0f3e7b60811fbd8
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