Time |
S |
Nick |
Message |
02:52 |
|
|
nanoz joined ##friendlyjava |
17:47 |
|
|
nanoz joined ##friendlyjava |
20:03 |
|
* mr_lou |
has spent the past two days experimenting making a USB write-protected / read-only. |
20:04 |
|
mr_lou |
:-S |
20:14 |
|
pdurbin |
This was a solved problem with floppy disks. |
20:15 |
|
mr_lou |
And also early USB flash drives. They came with a hardware switch. |
20:15 |
|
mr_lou |
But those aren't really around anymore. If you stumble across one, it's almost always USB2.0 and small in size. |
20:17 |
|
pdurbin |
When I was a kid I was somewhat paranoid that I would accidentally hit the record button and record over my favorite cassette tapes. Little did I know that they probably already had the tabs removed to prevent recording. |
20:17 |
|
mr_lou |
hehe |
20:18 |
|
mr_lou |
There are also Write Once Read Many (WORM) USB drives around. But they are rare and expensive. And I don't know how it works regarding getting data onto them. |
20:19 |
|
pdurbin |
Is the write protected stuff in the USB spec but no one uses it? Maybe you could bring it back. :) |
20:20 |
|
mr_lou |
There are 3 kinds of write-protection, as far as I can tell. |
20:20 |
|
mr_lou |
The first one is that hardware switch. |
20:20 |
|
mr_lou |
2nd one is by using a harddisk tool on Windows: diskpart. |
20:21 |
|
mr_lou |
3rd one is by editing registry database in Windows. |
20:21 |
|
mr_lou |
3rd option obviously only works on the PC you do this with. |
20:21 |
|
pdurbin |
what if you're on Linux? |
20:22 |
|
mr_lou |
Yea, then whatever you did with diskpart on Windows doesn't mean shit. |
20:22 |
|
mr_lou |
But... you can mix things then. |
20:22 |
|
mr_lou |
Create UDF filesystem on the drive with Linux. Set mode = 0555 |
20:22 |
|
mr_lou |
Then it's write-protected on Linux. |
20:23 |
|
mr_lou |
Then go to Windows and run diskpart. Then it's write-protected on both OS's. |
20:23 |
|
mr_lou |
I need to test on Mac. |
20:24 |
|
mr_lou |
It would be nice to have some way of controlling the firmware in the USB though. |
20:24 |
|
pdurbin |
It sounds like that hardware switch should make a comeback. |
20:33 |
|
mr_lou |
I would like to see that too yes. |
23:29 |
|
|
nanoz joined ##friendlyjava |
23:50 |
|
|
nanoz joined ##friendlyjava |