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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Narcis Garcia <informatica <at> actiu.net>
Subject: bug#22386: closed (Re: bug#22386: Non-interactive mode and errors)
Date: Mon, 08 Feb 2016 13:46:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#22386: Non-interactive mode and errors

which was filed against the parted package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 22386 <at> debbugs.gnu.org.

-- 
22386: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22386
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 ).


[Message part 3 (message/rfc822, inline)]
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.




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

Previous Next


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