Skip to content

How to tackle enumerating mount points  #18

Open
@luke-goddard

Description

@luke-goddard

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions