bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cfdisk bug report


From: electricstorm
Subject: cfdisk bug report
Date: Mon, 31 Dec 2001 14:35:12 -0500

#cfdisk -P st /dev/hda
Segmentation fault

#cfdisk -v
cfdisk 2.11n

My testing indicates this is caused when the MBR does not have a valid
signature, which could be caused when somebody does a 'dd if=/dev/zero
of=/dev/hda' command.  After a valid signature is written (with cfdisk
or any other fdisk program), the fault goes away.

A suggestion would be to test for this condition and handle as you see
fit?

BTW, I bring this to your attention because I believe
'cfdisk -P st <dev>' produces the most thorough and easy to read
display of the partition table.  I use it extensively to test many
different drives that come to me with unknown contents.  Also, I
wish Redhat didn't remove it from their 7.1 util-linux rpm. (oh, well.
sources are fine.)

Thank you for your time.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]