[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22387: Non-interactive use and errors
From: |
Narcis Garcia |
Subject: |
bug#22387: Non-interactive use and errors |
Date: |
Sat, 16 Jan 2016 20:11:26 +0100 |
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 the error message and status?
Thanks.
- bug#22387: Non-interactive use and errors,
Narcis Garcia <=