dietpi-drive_manager possible bug

johnvick
Hmm how does the fstab entry for the encryptfs mount look like?

I assumed something like this:
/mnt/point /mnt/point ecryptfs defaults 0 0

This line should be caught by:

grep -E '^[[:blank:]]*[^#].*([[:blank:],]bind[[:blank:],]|[[:blank:]](encryptfs|vboxsf)[[:blank:]])' /etc/fstab

… damn found it: encryptfs vs ecryptfs …

To fix:

sed -i 's/encryptfs/ecryptfs/g' /DietPi/dietpi/dietpi-drive_manager

Fixed for v6.25: https://github.com/MichaIng/DietPi/commit/e9604be306d88cb90c9f3873638ca6ae269936c6
Changelog: https://github.com/MichaIng/DietPi/commit/f08888ecac9fb39f63f75356f839359bdb5af5f2

Always read it with an “n” :roll_eyes:, sometimes copy&paste makes sense…