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: Phil Susi <psusi <at> ubuntu.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#22386: closed (Non-interactive mode and errors)
Date: Mon, 08 Feb 2016 13:46:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 8 Feb 2016 08:45:58 -0500
with message-id <56B89C16.8070705 <at> ubuntu.com>
and subject line Re: bug#22386: Non-interactive mode and errors
has caused the debbugs.gnu.org bug report #22386,
regarding Non-interactive mode and errors
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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.



[Message part 3 (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 ).



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.