read-only flag

Igor Rybak igor at media-clone.com
Thu Apr 20 12:25:09 PDT 2023


Hi,

If I set the read-only flag on a block device like "sudo blockdev -setro /dev/nvme0n1", I can still erase the drive with "nvme format /dev/nvme0n1". 
Is this normal? Where do you think the read-only flag should be handled?

Thanks,

Igor Rybak
CTO
MediaClone Inc
6900 Canby Ave Ste 107
Reseda, CA 91335
(818)654-6286




More information about the Linux-nvme mailing list