On 04/09/2026 10:22, ii via GNU coreutils Bug Reports wrote:
if dd is used to write block device, would destroy in-use devices, or LVM, 
 partition tables on devices.  
Before opening the output, probe with libblkid and warn if content is 
recognized, prompting for confirmation.

Checking whether a device is mounted does seem potentially useful.

Checking whether to overwrite existing file system structures seems less useful,
as that would be a very common scenario.  Also that functionality adds the
libblkid dependency which isn't ideal.

thanks,
Padraig



Reply via email to