freebsd-skq/sbin/fdisk
simon b0daff4ba7 MFC rev. 1.82:
- Fail with an understandable error message if we cannot detect the
  sector size, instead of later failing with an error about /boot/mbr
  not being a multiple of the sector size (since we end up with an
  assumed sector size of MAX_SEC_SIZE * 2).
- We query the sector size via an IOCTL anyway, so if that succeeds
  use that instead of probing for it via read(2) calls.  This fixes
  the problem with fdisk failing to operate on at least graid3 and
  md(4) devices on kernels with src/sys/geom/geom_dev.c before
  rev. 1.90, due to fdisk failing to detect the sector size.
- When detecting the root device allow "/" characters in it, which
  happens with e.g. gmirror devices.
2006-06-25 08:52:19 +00:00
..
fdisk.8 Mechanically kill hard sentence breaks. 2004-07-02 21:45:06 +00:00
fdisk.c MFC rev. 1.82: 2006-06-25 08:52:19 +00:00
Makefile MFC: use g_ctl for metadata modification if possible. 2005-08-16 22:46:05 +00:00
runtest.sh Use symbolic constants from <sys/diskmbr.h> instead of local constants. 2003-04-13 21:57:08 +00:00