My system runs Debian Testing, and /
is generally mounted as read-only.
The main problem with this is, every time I install something or update the system, I cannot remount the filesystem (I get the error: mount: / is busy
) as read-only again.
Used command:mount -o remount,ro /dev/mapper/sda9_crypt /
I have searched for processes and file-locks (with lsof
/fuser
), but I have no idea what I have to specifically search for.
I do not want to reset the system after an update, just to be able to get it remounted read-only. Therefore, I look for the key processes that I need to kill to make this possible.