Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
19
rated 0 times [  19] [ 0]  / answers: 1 / hits: 4728  / 3 Years ago, sun, august 15, 2021, 11:27:44

Is there a simple way to tell if I'm using ecryptfs on my home directory? I tried running the ecryptfs-migrate-home script a while ago, and it failed part way through. I assumed that it went back to using my old plain, unencrypted home, but I just noticed that /home/.ecryptfs/naught10t/.Private exists, and has lots of files in it...


More From » ecryptfs

 Answers
2

If ecryptfs is being used, your home folder will be mounted. You can check if it is with this command:



df -T


When I run it, I get this result:



kalle@Kalle-PC:~$ df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sdc1 ext4 115376648 9002220 100513568 9% /
udev devtmpfs 2050188 4 2050184 1% /dev
tmpfs tmpfs 824108 1128 822980 1% /run
none tmpfs 5120 0 5120 0% /run/lock
none tmpfs 2060264 900 2059364 1% /run/shm
/dev/sdb1 fuseblk 1953512444 1183183452 770328992 61% /media/x
/dev/sda2 ext4 861466440 138769200 678937216 17% /home
/home/kalle/.Private ecryptfs 861466440 138769200 678937216 17% /home/kalle


I have several drives on my system, but the last line is the relevant one. It shows that /home/kalle/.Private of type ecryptfs is mounted to /home/kalle, which is my home directory.



Run df -T on your system and check the results.


[#35579] Monday, August 16, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
otatorm

Total Points: 218
Total Questions: 113
Total Answers: 124

Location: British Indian Ocean Territory
Member since Tue, Feb 22, 2022
2 Years ago
otatorm questions
;