[parted-devel] marking a filesystem ID with parted
Jim Meyering
jim at meyering.net
Tue Nov 16 22:46:48 UTC 2010
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.
More information about the parted-devel
mailing list