On 2025-06-21 07:57, KhorneTraditionalist via GNU coreutils Bug Reports
wrote:
Maybe, shred could reserve the drive name for itself until shredding could be
completed so that automounting other drive could not lead to such issues?
shred opens the named file at startup and never uses the file
Hi!
I've started shredding a drive /dev/sdc on the latest stable linux mint
(debian), then I've connected another drive for work, and the shredding command
was cancelled with an error "Error writing at offset [offset]: No such device".
Apparently, Mint has automounted and assigned the name /dev/