How to make USB stick readonly - to prevent from accidental overwrite.
by andrewysk from LinuxQuestions.org on (#5JJW5)
I got a usb stick preinstalled with win os image that i keep. I made a wrong move and destroyed the usb stick, it is no longer able to install win7.
Hence i would like to make it readonly so that that won't happen in future.
I know how to make it in windows os.. but i have not find way to do it in linux.
After much searching around, only found this.
Is this the method ? Is there any other method ?
Code:$ sudo hdparm -r1 /dev/sdcThanks
Hence i would like to make it readonly so that that won't happen in future.
I know how to make it in windows os.. but i have not find way to do it in linux.
After much searching around, only found this.
Is this the method ? Is there any other method ?
Code:$ sudo hdparm -r1 /dev/sdcThanks