Add a new command, /sbin/diskinfo, which uses the revamped DIOCGPART
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 15 May 2007 17:53:11 +0000 (17:53 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 15 May 2007 17:53:11 +0000 (17:53 +0000)
commit3e4da308402089cc991ac802216f7f3af89d43ff
tree1391fa59dd07f98d9d9ecb0c91f54da2fb4bc4e5
parent2ec8fb792f39ffa6e85f08fc6f6a365e81d78aba
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