bug-parted
[Top][All Lists]
Advanced

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

bug#34782: GNU parted 3.2 strange behavior


From: Richard Szibele
Subject: bug#34782: GNU parted 3.2 strange behavior
Date: Thu, 7 Mar 2019 09:31:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1

Hello,

I'm currently working on a wrapper library to automate GNU parted. I'm currently writing the integration tests for my library and I noticed some strange behavior that I can't seem to figure out if it's intended or not.

1. When running `parted /dev/sda --script -- mkpart "ext4" 1MB 100MB` parted automatically assigns "ext4" as the name of the partition. I assume this is a bug? 2. When running `parted /dev/sda --script -- name 1 ""` parted seems to ignore the empty string, so I am unable to remove the name. If I run the command manually without "--script" it asks me for the name and after pressing enter, it doesn't remove it. Is there a way to remove a name from a partition?

The mkpart command seems to also require different arguments depending on the partition table of the disk, but the manual doesn't mention the parameters required for each of the partition tables.

Best regards,
Richard Szibele






reply via email to

[Prev in Thread] Current Thread [Next in Thread]