bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22386: Non-interactive mode and errors


From: Narcis Garcia
Subject: bug#22386: 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 via email to

[Prev in Thread] Current Thread [Next in Thread]