You are not logged in.
I'd like to have read-only bind mount in fstab. I've read that proper solution of that problem is adding to /etc/fstab those lines:
/src/dir /dst/dir none bind 0 0
/src/dir /dst/dir none remount,bind,ro 0 0
I know it works on non-systemd enviroments (Debian) but with systemd I get error message from systemd-fstab-generator during startup about duplicate entry in /etc/fstab and my mount point is not read-only. Does anyone have better solution than running a script?
Offline