GNU bug report logs - #25007
Bug: command parameters ignored when parted sees need to fix GPT

Previous Next

Package: parted;

Reported by: Yann Dirson <yann.dirson <at> blade-group.com>

Date: Wed, 23 Nov 2016 16:31:02 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Yann Dirson <yann.dirson <at> blade-group.com>
To: bug-parted <at> gnu.org
Subject: Bug: command parameters ignored when parted sees need to fix GPT
Date: Wed, 23 Nov 2016 16:25:02 +0100
[Message part 1 (text/plain, inline)]
Trying to see how things perform when we don't fix the GPT as suggested:

# parted /dev/mmcblk0 mkpart persist 2048 2058
Warning: Not all of the space available to /dev/mmcblk0 appears to be used,
you can fix the GPT to use all of the space (an extra 25661440 blocks) or
continue with the current setting?
parted: invalid token: persist
Fix/Ignore? i
Partition name?  []?
File system type?  [ext2]?
Start? ^C

Note that hitting ^C on the "fix/ignore" or "partition name" prompts have
no effect, one cannot abort before the "file system type" prompt.

Then once I have accepted the fix things do work as expected:

# parted /dev/mmcblk0 mkpart persist 2048 2058
Information: You may need to update /etc/fstab.


Or, alternatively, one can just use the "no question on tty" feature:

# parted /dev/mmcblk0 mkpart persist 2048 2058 </dev/null


-- 
Yann Dirson <yann <at> blade-group.com>
Blade -- 90 avenue des Ternes, 75017 Paris
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 207 days ago.

Previous Next


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