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

2021-02-09 Thread Frédéric MASSOT

Le 05/02/2021 à 17:29, Michael Stone a écrit :

On Fri, Feb 05, 2021 at 05:06:19PM +0100, Frédéric MASSOT wrote:
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.


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.



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.
--
==
|  FRÉDÉRIC MASSOT   |
| http://www.juliana-multimedia.com  |
|   mailto:frede...@juliana-multimedia.com   |
| +33.(0)2.97.54.77.94  +33.(0)6.67.19.95.69 |
===Debian=GNU/Linux===



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

2021-02-05 Thread Michael Stone

On Fri, Feb 05, 2021 at 05:06:19PM +0100, Frédéric MASSOT wrote:

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.


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.




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

2021-02-05 Thread Frédéric MASSOT
Package: coreutils
Version: 8.32-4+b1
Severity: normal

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.


-- System Information:
Debian Release: bullseye/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages coreutils depends on:
ii  libacl1  2.2.53-9
ii  libattr1 1:2.4.48-6
ii  libc62.31-9
ii  libgmp10 2:6.2.1+dfsg-1
ii  libselinux1  3.1-2+b2

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information