#981996 coreutils: dd create a regular file instead of writing to the block file

Package:
coreutils
Source:
coreutils
Description:
GNU core utilities
Submitter:
Frédéric MASSOT
Date:
2021-02-09 13:54:06 UTC
Severity:
normal
#981996#5
Date:
2021-02-05 16:06:19 UTC
From:
To:
Dear Maintainer,

Usually to copy an iso image to a USB stick I would do: dd if=image.iso of=/dev/sdg

"/dev/sdg" the path to the USB key checked in the logs.

Today with version dd (coreutils) 8.32, this command replaces the block device /dev/sdg with a /dev/sdg regular file which has the same size as the iso image.

Is it a bug or a new feature?
I couldn't find an option in the man page for this new feature.

I used the pv command instead of dd, and I copied the iso image to the usb stick. pv image.iso > /dev/sdg


Regards.

#981996#10
Date:
2021-02-05 16:29:26 UTC
From:
To:
dd didn't remove the device file. I suggest that you remove the usb
stick, remove the device file, insert the usb stick, check that the
device file is actually there and correct, then try again with dd.

#981996#15
Date:
2021-02-09 13:37:45 UTC
From:
To:
Le 05/02/2021 à 17:29, Michael Stone a écrit :


Hi,

Thank you for your reply.

Yes, Friday I was on my PC at work. I tested this weekend on my home PC,
and didn't have this problem. I retested on my PC at work and I no
longer have this problem.

The bug report can be closed.


Regards.