Continue untangling the disklabel.
authorMatthew Dillon <dillon@dragonflybsd.org>
Sun, 20 May 2007 23:21:37 +0000 (23:21 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sun, 20 May 2007 23:21:37 +0000 (23:21 +0000)
commit595e34405569ff65f92bde4885f8df5136eb09e2
treea54ece2fad8b52b942e5dc5713a16c5fd6c25d19
parentcc1ce052b301f80f5de77718a48cb2b03d671227
Continue untangling the disklabel.

* Remove numerous #include <sys/disklabel.h> lines that are no longer used.

* Move DIOCWLABEL from sys/disklabel.h to sys/diskslice.h

* Modify ffsinfo, fsirand, growfs, and newfs_msdos to use DIOCGPART instead
  of DIOCGDINFO to obtain disk geometry information.  Add defaults where
  necessary to allow these programs to run on files instead of devices.

  Also, change ffsinfo to output to stdout by default.
17 files changed:
bin/dd/dd.c
sbin/ccdconfig/ccdconfig.c
sbin/disklabel/disklabel.c
sbin/ffsinfo/ffsinfo.8
sbin/ffsinfo/ffsinfo.c
sbin/fsirand/fsirand.c
sbin/growfs/debug.c
sbin/growfs/growfs.c
sbin/i386/nextboot/nextboot.c
sbin/newfs/defs.h
sbin/newfs_msdos/newfs_msdos.c
sys/dev/disk/ata/atapi-cd.c
sys/sys/disklabel.h
sys/sys/disklabel32.h
sys/sys/diskslice.h
usr.bin/kdump/mkioctls
usr.sbin/boot0cfg/boot0cfg.c