GNU bug report logs - #50786
Missing info??

Previous Next

Package: parted;

Reported by: "Michael D. Setzer II" <mikes <at> guam.net>

Date: Fri, 24 Sep 2021 18:51:01 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


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

From: "Michael D. Setzer II" <mikes <at> guam.net>
To: 50786 <at> debbugs.gnu.org
Subject: Did find more info
 https://unix.stackexchange.com/questions/190317/gnu-parted-resizepart-in-script
Date: Sat, 25 Sep 2021 12:28:21 +1000
Shows it as undocumented command line?? option?
Also, figured it does need 3 dashes. Thought I might have 
mistyped it, and tried it with command and it failed. 
So does need 3 ---. Not sure why it is undocumented??

Note that 'isatty' test, which will fail. The 
'pretend_input_tty' is an undocumented command line 
option, which can be switched on via ---pretend-input-tty.

So, if you want to use parted from a script, my answer is 
the following:

/sbin/parted -a optimal /dev/loop1 ---pretend-input-tty 
resizepart 4 Yes 522239s





This bug report was last modified 3 years and 240 days ago.

Previous Next


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