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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
