A command/script to make the content of a usb stick undeletable?

rado84

Well-Known Member
Joined
Feb 25, 2019
Messages
591
Reaction score
479
Credits
3,013
My new 256 GB USB stick doesn't have a hardware button to make it undeletable and I wonder if there's a command or a script that will make its content undeletable? Something similar to the command "# chattr +i" but it will work for the entire usb stick, not just one file.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top