sg_reset_wp(8) on Linux
The text 69b26076f6c5, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster) shipped it.
send SCSI RESET WRITE POINTER command
Flags it lists
-
--all -
--count -
--help -
--verbose -
--version -
--zone -
-C -
-V -
-a -
-h -
-v -
-z