How to make a bind mount read-only in Red Hat Enterprise Linux?
Issue
- How to make a bind mount read-only in Red Hat Enterprise Linux?
- Not able to make a bind mount
read-only
.
#mount -o bind,ro /<filesystem> /<mountpoint>
mount: warning: /<mountpoint> seems to be mounted read-write.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- bind mount
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.