[parted-devel] marking a filesystem ID with parted
H. Peter Anvin
hpa at zytor.com
Tue Nov 16 22:51:57 UTC 2010
On 11/16/2010 02:46 PM, Jim Meyering wrote:
> H. Peter Anvin wrote:
>> On 11/11/2010 11:45 PM, Jim Meyering wrote:
>>> In that case, use parted's mkpart sub-command rather than mkfs
>>> mkpart lets you set the ID, but unlike mkfs, does not try to
>>> create a file system.
>>
>> Unfortunately parted doesn't let you move or resize a partition where it
>> doesn't understand the filesystem, even though many filesystems have
>> their own resizing tools and sometimes even allow online resizing.
>
> Hi Peter,
>
> Actually, if you are using a GPT partition table,
> you *can* resize. Simply remove the partition and then recreate
> same-numbered partition with the new start/end, using the mkpart
> (*not* mkpartfs) sub-command.
>
You can do that with other partition table types too, most of the time.
It's just not very user-friendly.
-hpa
More information about the parted-devel
mailing list