-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Mar 07, 2008 at 04:40:18PM -0800, Michael Dipperstein wrote: > > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On > Behalf > > Of Herbert Graf > > > > On Fri, 2008-03-07 at 17:33 -0500, David VanHorn wrote: > > > Don't a lot of them have write protect locks? > > > > Unfortunately I'm not dealing with a real drive, but I would be > > interested in what such a switch exactly does? How does the OS get > told > > the drive is read only? > > Am I missing something, or is it enough to use /etc/fstab to tell the OS > that the drive is read only? No actually, there are some weird corner cases to that. Journaling filesystems for instance often can't mount the filesystem until any uncommited transactions have been rolled back. This will write to the drive, even though you wouldn't expect it. That said, I last read about that issue a few years ago, it may have been fixed by now on Linux. - -- http://petertodd.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH0eY93bMhDbI9xWQRAn+YAKCu3RxuDEDsmNBavQXjsbbGbvueggCdGk+Z 0udWKo//3D1I5WnfrmvrFF8= =LvXm -----END PGP SIGNATURE----- -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist