From 95422e473502cf4b5be35f9c6885da5c7ad61e8c Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Sun, 31 Aug 2025 14:28:19 +0300 Subject: [PATCH] fscrypt: add example and sudo (#17908) Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/linux/fscrypt.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/linux/fscrypt.md b/pages/linux/fscrypt.md index 2abe8a38b2..e2971f40cf 100644 --- a/pages/linux/fscrypt.md +++ b/pages/linux/fscrypt.md @@ -3,9 +3,13 @@ > Go tool for managing Linux filesystem encryption. > More information: . -- Prepare the root filesystem for use with fscrypt: +- Prepare the root filesystem for use with `fscrypt`: -`fscrypt setup` +`sudo fscrypt setup` + +- Prepare a specific mountpoint for use with `fscrypt`: + +`fscrypt setup {{path/to/directory}}` - Enable filesystem encryption for a directory: