bug#22387: Non-interactive use and errors

2016-01-16 Thread Narcis Garcia
Hello, I'm trying to call parted from a ShellScript to get details from block devices: $ parted /dev/OneDevice print But when I specify a removable device, it expects user interaction: Error: Error opening /dev/OneDevice: No medium found Retry/Cancel? Is there any way to avoid this and get only

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

bug#22387: Non-interactive use and errors

2016-01-28 Thread Narcis Garcia
Oh thanks. El 28/01/16 a les 17:52, Brian C. Lane ha escrit: > On Sat, Jan 16, 2016 at 08:11:26PM +0100, Narcis Garcia wrote: >> Hello, I'm trying to call parted from a ShellScript to get details from >> block devices: >> >> $ parted /dev/OneDevice print >

bug#22496: why does the parted math look wrong - Q1 ?

2016-01-31 Thread Narcis Garcia
I see inconsistent data when printing table. It shoud be: Number Start End Size File system Name Flags 1 0cyl121600cyl** 121601cyl* zfs 9 121600cyl** 121601cyl 2cyl* * Starting cylinder should be the first cylinder and count in the amount

bug#22387: Non-interactive use and errors

2016-02-08 Thread Narcis Garcia
I'm receiving answers from many people but neither a subject [prefix] nor arecipient seems related to the software project they are talking about. Can you unsubscribe me from this chaotic thread? On 08/02/16 14:49, Phil Susi wrote: > Asked and answered. > > >

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 a