Hello David Barber,

Adding some hints of what I think is going on inline below....

On Tue, Feb 08, 2022 at 02:15:25PM -0500, david barber wrote:
> Hi Chris,
> 
> Sorry, I'm not sure how to reply within the bug tracking system.....this is
> my first.
> 
> 1) I'm using this debian live image: 2612133888 Jan 28 00:42
> debian-live-11.1.0-amd64-mate.iso
> 2) See below for results using both -w=never and --wipe=never on the USB
> stick.  -w reports as unsupported wipe mode (!) and --wipe=never seems to
> have no effect. (warning about ISO9660 comes up even though it was told to
> NEVER wipe).
> 
> My dd command was as follows:
> barbed2@vostro:/nas1/ISO-IMAGES$ dd if=debian-live-11.1.0-amd64-mate.iso |
> sudo dd of=/dev/sdf bs=4M status=progress oflag=direct
> 
> 
> =================== begin snip ====================
> root@vostro:/nas1/ISO-IMAGES# fdisk -w=never /dev/sde
> fdisk: unsupported wipe mode

This one is easy to explain. The syntax you're using is equivalent to:
`fdisk -w -= -e -v -e -r /dev/sde` (and the wipemode argument `/dev/sde`
does not match any of `auto`, `never` or `always) which is obviously not
what you really want. Thus you get the above error message.
(Additionally you're missing a target file but you never get that far
in the parsing.)

Hope this helps clear this one out.


> root@vostro:/nas1/ISO-IMAGES# fdisk --wipe=never /dev/sde

This one probably needs a bit deeper debugging to figure out.
I would normally use `fdisk --wipe never /dev/sde` naturally,
but you're not getting the previous error message so apparently
separating option and optarg using = seems to be accepted syntax.

Not sure what (if anything) goes wrong with this one.
You write "does not honour the --wipe option" and it would be helpful
if you could elaborate on what you expected and what happened.
(It's not obvious to me from the below example.)

Further investigation needed.

> 
> Welcome to fdisk (util-linux 2.36.1).
> Changes will remain in memory only, until you decide to write them.
> Be careful before using the write command.
> 
> The device contains 'iso9660' signature and it may remain on the device. It
> is recommended to wipe the device with wipefs(8) or fdisk --wipe, in order
> to avoid possible collisions.
> 
> Command (m for help):
> =================== end snip ====================
> 
> 
> Thanks again, pls let me know if there's anything else I can provide.
> 
> David

Regards,
Andreas Henriksson

PS. Using "reply all" in your mail user agent should do the right
thing when replying.

Reply via email to