[parted-devel] [PATCH] parted: correct the information of "mkpart" in man manual

Wang Dong dongdwdw at linux.vnet.ibm.com
Thu Apr 20 06:17:13 UTC 2017



On 04/19/2017 08:52 PM, Phil Susi wrote:
> On 4/18/2017 10:44 PM, Wang Dong wrote:
>> The file system type is an optional choice. you can make a new partition
>> just with start and end point.
> Oh, I guess I normally just run mkpart without argument and answer the
> prompts.  I didn't realize when specifying all arguments on the command
> line you could omit the fs type.
>
>> That's why I made this change.
>> Actually, the file system will not be applied despite you can specify
>> one when to make new partition.
> It is used to decide what partition type code to apply to the new
> partition.  Windows has specific type codes it requires for FAT and
> NTFS, and swap has its own type code by historical convention.
You mean that parted will set the partition type code according to the
file system type? I didn't find the code in parted. Would you please 
show me?
As I found that the partition type is not a required option when to make 
new partition.

And users have to apply the file system with tool like mkfs.ext3, right? 
I guess
this will not change the partition type.

-- 
Best regards. Wang Dong




More information about the parted-devel mailing list