How do I create a loopback mount which exposes a given directory as a read-only filesystem? As contrasted with a loopback mount which exposes a file as a filesystem?


I would imagine that mount -o bind,ro /some/directory /where/you/want/it/to/be/readonly should do the trick.