GNU bug report logs - #22386
Non-interactive mode and errors

Previous Next

Package: parted;

Reported by: Narcis Garcia <informatica <at> actiu.net>

Date: Sat, 16 Jan 2016 19:11:02 UTC

Severity: normal

Done: Phil Susi <psusi <at> ubuntu.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22386 in the body.
You can then email your comments to 22386 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#22386; Package parted. (Sat, 16 Jan 2016 19:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Narcis Garcia <informatica <at> actiu.net>:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Sat, 16 Jan 2016 19:11:02 GMT) Full text and rfc822 format available.

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

From: Narcis Garcia <informatica <at> actiu.net>
To: bug-parted <at> gnu.org
Subject: Non-interactive mode and errors
Date: Sat, 16 Jan 2016 20:03:21 +0100
Hello, I'm trying to use parted to get details from block devices in a
Shell Script, but when I run this for an empty removable device:

parted /dev/mydevice print

Returns:
Error: Error opening /dev/mydevice: No medium found
Retry/Cancel?

and doesn't end until user interaction.
Is there any way to avoid this, and simple get the message error and status?

Thanks.





Reply sent to Phil Susi <psusi <at> ubuntu.com>:
You have taken responsibility. (Mon, 08 Feb 2016 13:46:02 GMT) Full text and rfc822 format available.

Notification sent to Narcis Garcia <informatica <at> actiu.net>:
bug acknowledged by developer. (Mon, 08 Feb 2016 13:46:02 GMT) Full text and rfc822 format available.

Message #10 received at 22386-done <at> debbugs.gnu.org (full text, mbox):

From: Phil Susi <psusi <at> ubuntu.com>
To: 22386-done <at> debbugs.gnu.org
Subject: Re: bug#22386: Non-interactive mode and errors
Date: Mon, 8 Feb 2016 08:45:58 -0500
On 1/16/2016 2:03 PM, Narcis Garcia wrote:
> Is there any way to avoid this, and simple get the message error and status?

Use script mode ( -s ).





Information forwarded to bug-parted <at> gnu.org:
bug#22386; Package parted. (Mon, 08 Feb 2016 18:27:01 GMT) Full text and rfc822 format available.

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

From: Narcis Garcia <informatica <at> actiu.net>
To: bug-parted <at> gnu.org
Subject: Re: bug#22386: Non-interactive mode and errors
Date: Mon, 8 Feb 2016 16:23:21 +0100
I' sent the question to bug-parted <at> gnu.org
Why I'm receiving answers through different mailing list
(...@debbugs.gnu.org) ??


On 08/02/16 14:45, Phil Susi wrote:
> On 1/16/2016 2:03 PM, Narcis Garcia wrote:
>> Is there any way to avoid this, and simple get the message error and status?
> 
> Use script mode ( -s ).
> 
> 
> 
> 




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Mar 2016 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 110 days ago.

Previous Next


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