bug#22386: Non-interactive mode and errors

2016-02-08 Thread Narcis Garcia
I' sent the question to bug-parted@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 sc

bug#22386: Non-interactive mode and errors

2016-02-08 Thread Phil Susi
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#22386: Non-interactive mode and errors

2016-01-16 Thread Narcis Garcia
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 t