cheap usb ("thumb") drives

Nov 29, 2023 Last reply: 2 years ago 3 Replies

I've got a box that builds a "backup partition" on a machine and then invokes it to install the OS/apps prior to distribution.



Some of the clients are hosing the backup partition by trying to upgrade to Windows, etc.



I'd like, instead, to offer a thumb drive as installation media in lieu of the backup partition.


- Can I make a thumb drive "read only" prior to distribution? (so the little urchins don't wipe the installer image) I've encountered drives that have *failed* in an R/O mode...



- How durable are *cheap* thumb drives? (can I get a handful of *reliable* reads without worrying about a media error or mechanical failure)


The USB protocol only identifies 'mass storage device' characteristics, not read/write permissions. Any permission mechanism isn't standard (might work only on one filesystem type, or one vendor's mark 3 control model...).

You'd be better off using SD card (maybe plugging an SDcard micro module into a $0.79 USB reader), because the SD card specs DO include write locking by a number of mechanisms, some hardware and some software. Also, naturally, you'd want a checksum or hash that can be checked against the contents of any pretender to legitimacy...

formatting link

If they have a full size sD slot then I favour Phils suggestion of a micro sD in an sD carrier write protected with a spec of araldite.

My favourite portable for travelling is an ASUS T1000 (not made of liquid metal) 11" diagonal screen. It's not fast, a bit long in the tooth now but lasts a long time and is very small. It even comes apart so that you can use the screen as a tablet.

That sounds like hard work for little gain. BIOSes can also be overwritten.

That's weak, though. The 'write protect' of the carrier is just a suggestion, not hardware-implemented, but sets a bit that can be polled. Or, ignored. The SD specification does include non-reversible write disable commands (and the SD card control logic will never enable the voltage boost necessary to write new data into the flash). That, IS a hardware write protection.

Check out the Wikipedia on SD card, there's references...

formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required