GNU bug report logs - #22167
Invalid token errors with resizepart

Previous Next

Package: parted;

Reported by: Julius Schwartzenberg <julius.schwartzenberg <at> abz.nl>

Date: Mon, 14 Dec 2015 16:37:02 UTC

Severity: normal

Tags: patch

Merged with 24215

Full log


View this message in rfc822 format

From: Julius Schwartzenberg <julius.schwartzenberg <at> abz.nl>
To: 22167 <at> debbugs.gnu.org
Subject: bug#22167: Invalid token errors with resizepart
Date: Mon, 14 Dec 2015 16:52:08 +0100
Hi,

I'm trying to create a single command to increase a single root 
partition to the maximum size. Doing it step by step, I managed to do it 
interactively with:
> (parted) resizepart 1
> Warning: Partition /dev/vda1 is being used. Are you sure you want to continue?
> Yes/No? yes
> End?  [4000MB]? -1s

When I do it all on a single line, I get an error that -1s is an invalid 
token however:
> (parted) resizepart 1 -1s
> Warning: Partition /dev/vda1 is being used. Are you sure you want to continue?
> parted: invalid token: -1s

I tried other values as well, but it seems the end argument can't be 
parsed properly when it's specified with the initial call or I'm doing 
something wrong. Is there any way to get this to work?

I'm using GNU Parted 3.2 as shipped with Fedora 22.

Thanks in advance!

Best regards,
Julius




This bug report was last modified 5 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.