[parted-devel] File System Type Not Detected with 4096 byte Sector Size Device

Jim Meyering jim at meyering.net
Wed Apr 28 21:00:47 UTC 2010


Curtis Gedak wrote:
> Jim Meyering wrote:
>> Thank you for the report and detailed reproducer.
>>
>> This is not surprising, since I have made no effort whatsoever to adjust
>> the bit-rotting file-system-specific code in parted to work with >512-byte
>> sectors, and the ext[234] type-detecting code is part of that.
>>
>> Unless it's easy to fix, I would like to eliminate the code that parted
>> currently uses for that and to use code from a well-maintained library
>> instead, but haven't looked into it at all.
>>
>
> Thanks for the quick response Jim.
>
> My testing using blkid to detect file systems on devices with a 4096
> byte sector size has proven quite promising.  One difference of note
> is that blkid does not display an entry for extended partitions.

Do you mean that libblkid does not display a file system type for
an msdos extended partition?  That makes sense, since the
extended partition is just a container for other partitions,
and hence has no file system of its own.

> Perhaps libblkid might be a candidate if the decision is made to used
> a different library for file system detection.



More information about the parted-devel mailing list