Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to tackle enumerating mount points #18

Open
luke-goddard opened this issue Jun 3, 2020 · 0 comments
Open

How to tackle enumerating mount points #18

luke-goddard opened this issue Jun 3, 2020 · 0 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@luke-goddard
Copy link
Owner

One of the scans is going to iterate through all the mount points and check if they're encrypted.

I did a bit of research and found the following file systems

File system type supports encryption encrypted by default
VFAT ? ?
exFAT ? ?
mkexfatfs(8) ? ?
F2FS ? ?
ext3 ? ?
ext4 ? ?
HFS ? ?
HFS+ ? ?
JFS ? ?
NILFS2 ? ?
NTFS ? ?
ReiserFS ? ?
UDF ? ?

I also know of Luks, that to my knowledge works on all filesystem types as a separate layer on top.

Without using blkid how would I get all mount points and test if they're encrypted?

I encrypted a USB with luks/etx4 and mounted it but /proc/mounts did not show indication of encryption.

 /dev/mapper/reddrive /mnt ext4 rw,relatime 0 0
@luke-goddard luke-goddard added help wanted Extra attention is needed question Further information is requested labels Jun 3, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant