On Wed, Mar 27, 2013 at 02:32:09PM +0100, Marc MAURICE wrote:
> Hi all,
> 
> I'm looking for a way to resize or maximize a partition that can be
> used from a script, without touching the filesystem inside.

You can use parted to change the partition table exactly by using either
the b (bytes) units or s (sectors). You can get machine readable output
by passing -m

I *DO NOT* recommend doing this. Especially without a backup of the
data. But you could remove the existing partition and then re-create it
with the same starting position and new end.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)

Attachment: pgpfajzDMLi2w.pgp
Description: PGP signature

Reply via email to