[Top][All Lists]

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

Re: fat_bootsector_read()

From: Otavio Salvador
Subject: Re: fat_bootsector_read()
Date: Mon, 28 May 2007 08:20:48 -0300
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

"Matt Davis" <address@hidden> writes:

> fat_bootsector_read() returns all zeros to the buffer.
> The _device_seek() is seeking to the proper location, and there is
> actually data in that location, which I have confirmed via 'dd' (with
> appropriate bootsector signature)

This paragraph isn't clear to me.

When you say that there is actually data you means bootsector
signature or ordinary data?

> Is this some oddity with qemu and virtual disks?  Fdisk and cfdisk
> read the partition's boot sector fine.  It seeks to sector 63, sucks
> in 512b of bootsector data.  And read returns sucessfully (512b read).
> The data it copies into diobuf is 0x0 for 512 bytes.  I do not have a
> spare drive lying around, (although I can try to pick one up this
> week) to compare against.  Sounds to me if qemu is doing something
> funky.  But that's just some speculation right now.  Although, parted
> does read other partitions fine.

dd returns only 0x0?

        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]