Is it possible to mount an entire disk device read only?

Karl Auer kauer at biplane.com.au
Sun Sep 6 09:37:08 UTC 2015


On Sun, 2015-09-06 at 11:18 +0200, Petter Adsen wrote:
> Karl Auer <kauer at biplane.com.au> wrote:
> > That is, can I have a read-only /dev/sdb?
> Check the manufacturer info, I've seen drives that have jumpers to do
> just that.

I know - I used to have several, back in the day. But I haven't seen
that for a long time now.

> If it's possible to do in software I have no idea, but it's an
> interesting question.

I wonder what effect it would have on journaling file systems, on drives
that automatically remap bad sectors and so on...

Regards, K.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882





More information about the ubuntu-users mailing list