diff options
| author | ebiggers <ebiggers@google.com> | 2020-01-23 13:46:18 -0800 |
|---|---|---|
| committer | Joseph Richey <joerichey@google.com> | 2020-01-23 13:46:18 -0800 |
| commit | 45c27d59ee40f3945837ea827f29f6896414157f (patch) | |
| tree | 45352179e5b9aea44f1111e99556fd96727e3bd4 /README.md | |
| parent | 6e4e557ca6f879627d877a4fc3815203a103e4ff (diff) | |
Document how to check for kernel config options (#183)
Resolves https://github.com/google/fscrypt/issues/181
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -168,6 +168,11 @@ enabled in the on-disk filesystem superblock: must have either `CONFIG_FS_ENCRYPTION=y` (for kernels v5.1+) or `CONFIG_UBIFS_FS_ENCRYPTION=y` (for older kernels). +To check whether the needed option is enabled in your kernel, run: +```shell +zgrep -h ENCRYPTION /proc/config.gz /boot/config-$(uname -r) | sort | uniq +``` + Be careful when using encryption on removable media, since filesystems with the `encrypt` feature cannot be mounted on systems with kernel versions older than the minimums listed above -- even to access unencrypted files! |