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.