diff options
| author | Jarek Kowalski | 2026-01-18 10:48:51 -0800 |
|---|---|---|
| committer | GitHub | 2026-01-18 19:48:51 +0100 |
| commit | 6013d56f0c09100190107613ce8c5c4c929216dd (patch) | |
| tree | 33eff2f7c85aeb50be96652773fd76512d9ab386 /cli_args.go | |
| parent | c9cf6f1f8a5b90c9cb70ed19f8c8426dc2655c9d (diff) | |
* added -noxattr flag which ignores all xattr operations
Diffstat (limited to 'cli_args.go')
| -rw-r--r-- | cli_args.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli_args.go b/cli_args.go index e690e15..707b453 100644 --- a/cli_args.go +++ b/cli_args.go @@ -31,7 +31,7 @@ type argContainer struct { longnames, allow_other, reverse, aessiv, nonempty, raw64, noprealloc, speed, hkdf, serialize_reads, hh, info, sharedstorage, fsck, one_file_system, deterministic_names, - xchacha bool + xchacha, noxattr bool // Mount options with opposites dev, nodev, suid, nosuid, exec, noexec, rw, ro, kernel_cache, acl bool masterkey, mountpoint, cipherdir, cpuprofile, @@ -188,6 +188,7 @@ func parseCliOpts(osArgs []string) (args argContainer) { flagSet.BoolVar(&args.one_file_system, "one-file-system", false, "Don't cross filesystem boundaries") flagSet.BoolVar(&args.deterministic_names, "deterministic-names", false, "Disable diriv file name randomisation") flagSet.BoolVar(&args.xchacha, "xchacha", false, "Use XChaCha20-Poly1305 file content encryption") + flagSet.BoolVar(&args.noxattr, "noxattr", false, "Disable extended attribute operations") // Mount options with opposites flagSet.BoolVar(&args.dev, "dev", false, "Allow device files") |
