On Tue, Jan 06, 2009 at 08:44:47AM -0500, Christoph Hellwig wrote: > On Tue, Jan 06, 2009 at 02:43:25PM +0100, Karel Zak wrote: > > > -r Mount the file system read-only. A synonym is -o ro. Note that, > > > depending on the filesystem type, state and kernel behavior, > > > the system may still write to the device. For example, Ext3 > > > will replay its journal if the filesystem is dirty. To prevent > > > this kind of write access, you may want to map the device > > > through a read-only loop device, see command losetup. > > > > Applied, thanks. > > No need to use a loop device, just do a blockdev --setro. Ahhh, BLKROSET ioctl... and blockdev(8) from util-linux... :-) Fixed. Sorry. Karel -- Karel Zak <kzak@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html