GNU bug report logs -
#32884
Logical Bug (do not quit after "--machin" request output)
Previous Next
To reply to this bug, email your comments to 32884 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org
:
bug#32884
; Package
parted
.
(Sun, 30 Sep 2018 07:54:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ПИван Петров <oknaassortiment <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org
.
(Sun, 30 Sep 2018 07:54:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
If to request information about not existent disk with "QUIT command" at
the end of request, Parted asks from "my programm": "Need to try again to
get request information?".
I and "my programm" think, that Parted already had that answer = "quit"!
Please, remove any interactive events from output if "--machine" parameter
exists!
============ Output ===================
root <at> machine:/home/user# parted --machine /dev/sdz print quit
Ошибка: Не удаётся получить статус устройства /dev/sdz - Нет такого файла
или каталога. ### (translated: Error: Unable to get device status /dev/sdz
- There is no such file or directory.)
Повторить/Retry/Отменить/Cancel? cancel
root <at> machine:/home/user#
========== End Output ==================
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-parted <at> gnu.org
:
bug#32884
; Package
parted
.
(Mon, 15 Oct 2018 17:57:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 32884 <at> debbugs.gnu.org (full text, mbox):
On Sun, Sep 30, 2018 at 10:52:42AM +0300, ПИван Петров wrote:
> If to request information about not existent disk with "QUIT command" at
> the end of request, Parted asks from "my programm": "Need to try again to
> get request information?".
> I and "my programm" think, that Parted already had that answer = "quit"!
>
> Please, remove any interactive events from output if "--machine" parameter
> exists!
The correct thing to do is to use --script, it won't prompt for things
and will default to the 'safe' answer. You also don't need quit
there, it is implied by the end of the commands you pass to parted.
--
Brian C. Lane (PST8PDT)
This bug report was last modified 6 years and 248 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.