Hi world!
I’ve noticed some mistakes (in my opinion) in the Qubes Documentation related to bind-dirs configuration ( How to make any file persistent (bind-dirs) — Qubes OS Documentation ). Here is my suggestion:
In the Appvm you want to persiste configuration files/folders (between reboots):
-
Prepare destination:
sudo mkdir -p /rw/bind-dirs
sudo mkdir -p /rw/config/qubes-bind-dirs.d -
Add what has to be persisted to your will (e.g. bluetooth configurations):
sudo <your_fav_editor> /rw/config/qubes-bind-dirs.d/50_bluetooth.conf
binds+=( '/var/lib/bluetooth' )
binds+=( '/usr/lib/bluetooth' )
binds+=( '/etc/bluetooth' )
- Then activate persistance:
sudo /usr/lib/qubes/init/bind-dirs.sh
That’s all folks!
EDIT: proper documentation is here: How to make any file persistent (bind-dirs) — Qubes OS Documentation