Recognise HFSX variant as an HFS+ file system (#698876)
Roughly HFSX is a case sensitive version of the HFS+ file system. Parted reports such a file system as "hfsx" rather than "hfs+". # mkfs.hfsplus -v "case insensitive hfs+" /dev/sda7 Initialized /dev/sda7 as a 1024 MB HFS Plus volume # mkfs.hfsplus -s -v "case sensitive hfs+" /dev/sda8 Initialized /dev/sda8 as a 1024 MB HFS Plus volume # parted /dev/sda print ... Number Start End Size Type File system Flags ... 7 356GB 357GB 1074MB logical hfs+ 8 357GB 358GB 1074MB logical hfsx # blkid /dev/sda[78] /dev/sda7: LABEL="case insensitive hfs+" TYPE="hfsplus" /dev/sda8: LABEL="case sensitive hfs+" TYPE="hfsplus" Make GParted recognise HFSX file system variants too. Closes Bug #698876 - GParted fails to recognize HFS+ partition (possible due to disabled journaling)
This commit is contained in:
parent
ead2a1a53f
commit
d44971328a
|
@ -1264,6 +1264,7 @@ GParted::FILESYSTEM GParted_Core::get_filesystem( PedDevice* lp_device, PedParti
|
||||||
else if ( fs_type == "hfs" )
|
else if ( fs_type == "hfs" )
|
||||||
return GParted::FS_HFS ;
|
return GParted::FS_HFS ;
|
||||||
else if ( fs_type == "hfs+" ||
|
else if ( fs_type == "hfs+" ||
|
||||||
|
fs_type == "hfsx" ||
|
||||||
fs_type == "hfsplus" )
|
fs_type == "hfsplus" )
|
||||||
return GParted::FS_HFSPLUS ;
|
return GParted::FS_HFSPLUS ;
|
||||||
else if ( fs_type == "ufs" )
|
else if ( fs_type == "ufs" )
|
||||||
|
|
Loading…
Reference in New Issue