bug-parted
[Top][All Lists]
Advanced

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

Re: Reading cfdisk partitioned drives


From: Otavio Salvador
Subject: Re: Reading cfdisk partitioned drives
Date: Sat, 26 May 2007 20:51:09 -0300
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

"Matt Davis" <address@hidden> writes:

> The oddity that I have have seen, and I am not sure if this is what is
> causing the funky-ness in #14, but fdisk/cfdisk both read the fs_type
> from the disk properly.  In my case (using parted 1.8.7), bootsector.c
> is reading the first 512 bytes of the Fat16 partition starting at 63.
> Parted, and I have confirmed this via gdb, does not see a boot sector
> signature starting at those partition offsets, thus when I run parted
> on the drive I get output with proper drive sizes but no file system
> information for those drives.  Further, to see if there was any data
> on that boot sector at all, I performed:
> `dd if=/dev/hda1 of=boot bs=512 count=1`  And the boot sector was all
> zeroed out.  Either way that's far off from the 0xAA55 that a fat16
> should have.  But that still does not explain why fdisk and cfdisk
> report the fs_types properly.  I assume they are just grabbing those
> values from the MBR and not the actual boot sector of the hard drive
> (as parted is doing).

I'm missed here. Have you been able to reproduce it? If yes, that's
great!

A possible why to get more information about the bug itself is ask for
the reporters to send the boot sector to us. Can you try it? This way
we can confirm your guess, can't we?

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: address@hidden      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."




reply via email to

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