diff --git a/src/faqs.rst b/src/faqs.rst index 87f6e14..99ef900 100644 --- a/src/faqs.rst +++ b/src/faqs.rst @@ -156,11 +156,21 @@ If you need to make a change to a folder that is mounted as an overlay, you can .. code-block:: shell umount -l /etc - -To see a full list of folders that have an overlay you can run the following command: + +To see a full list of folders that have overlays you can run the following command: .. code-block:: shell mount | grep overlay After making your changes and rebooting you should see your changes persist. But the overlay will be back and the filesystem will be read-only again. + +If you don't want to reboot, you can set the filesystems back to their normal state by running the following commands, IN THIS ORDER: + +.. code-block:: shell + + mount -o remount,ro / + mount -o rw,relatime,lowerdir=/etc,upperdir=/var/volatile/etc,workdir=/var/volatile/.etc-work -t overlay overlay /etc + mount -o bind /home/root/.dropbear /etc/dropbear + +Note that you can get the value of the `-o` option in the second command by running the `mount | grep overlay` command noted above, *before* un-mounting anything.