Re: Replacing fdisk by cfdisk?
On Fri, Jan 08, 1999 at 07:30:23PM +1100, Craig Sanders wrote:
> fdisk works and it doesn't have any outstanding bugs (that i know of - i
> may be wrong here), so why get rid of it?
It should have outstanding bugs -- here's on which I'm sure I've reported.
It names partitions in the listing differently than the kernel, which
is most confusing. eg
# fdisk /dev/hdb
Command (m for help): p
Disk /dev/hdb: 128 heads, 63 sectors, 779 cylinders
Units = cylinders of 8064 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hdb1 2 2 398 1600704 5 Extended
/dev/hdb2 * 399 399 779 1536192 a5 BSD/386
/dev/hdb6 2 2 205 822496 83 Linux native
/dev/hdb7 206 206 383 717664+ 83 Linux native
/dev/hdb8 384 384 398 60448+ 82 Linux swap
Command (m for help): q
# mount
/dev/hdb5 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hdb6 on /local type ext2 (rw)
/dev/hda1 on /c type vfat (rw,gid=35,umask=002,quiet)
/dev/hdd on /cdrom type iso9660 (ro)
According to fdisk I have no /dev/hdb5, yet I have it mounted as the root!
cfdisk gets this right.
Hamish
--
Hamish Moffatt VK3TYD hamish@debian.org, hamish@rising.com.au
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
Reply to: