[parted-devel] marking a filesystem ID with parted
Jim Meyering
jim at meyering.net
Wed Nov 17 07:16:52 UTC 2010
H. Peter Anvin wrote:
> 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.
I chose not to mention of the ability to do it with other
partition table types -- too many caveats. No rope sales
from me, nor noose-tying lessons ;-)
More information about the parted-devel
mailing list