[parted-devel] [PATCH] linux: use libblkid to determine ->phys_sector_size

Jim Meyering jim at meyering.net
Thu Oct 22 13:50:43 UTC 2009


Karel Zak wrote:
> On Mon, Oct 19, 2009 at 03:00:26PM +0200, Jim Meyering wrote:
>> While testing support for >512-byte sectors, I noticed that
>> parted's "print" command displayed an incorrect physical sector size.
>> This corrects it, but relies on a version of libblkid that is not
>> yet available even in Fedora rawhide.
>
>  The library should be available in Fedora rawhide now.

Yes, and with it, that test does pass.

>> Subject: [PATCH] linux: use libblkid to determine ->phys_sector_size
>>
>> Before this change, creating a memory-mapped disk on a fedora-based
>> system running 2.6.31.1-56.fc12.x86_64 using this command:
>> modprobe scsi_debug dev_size_mb=1025 sector_size=4096
...
>
>  Looks good.

Thanks for the review.



More information about the parted-devel mailing list