diff options
| author | ebiggers <ebiggers@google.com> | 2019-09-24 04:04:02 -0700 |
|---|---|---|
| committer | Joseph Richey <joerichey@google.com> | 2019-09-24 04:04:02 -0700 |
| commit | 61464729e79d4b27a878718a92e4e3b70f7ad317 (patch) | |
| tree | 76f97a88a1ea561121435d256595faa13480a1b0 /cmd/fscrypt/setup.go | |
| parent | 672cce613a8b3acf66e0f288206b1fcbff7d41cd (diff) | |
cmd/fscrypt: make 'fscrypt setup' create /.fscrypt (#149)
Make the global setup command also create the metadata directory at
/.fscrypt, since that's where login protectors are placed, even when the
actual encrypted directories are on a different filesystem.
Resolves https://github.com/google/fscrypt/issues/129
Diffstat (limited to 'cmd/fscrypt/setup.go')
| -rw-r--r-- | cmd/fscrypt/setup.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/fscrypt/setup.go b/cmd/fscrypt/setup.go index f2fff96..2bb15ef 100644 --- a/cmd/fscrypt/setup.go +++ b/cmd/fscrypt/setup.go @@ -72,7 +72,5 @@ func setupFilesystem(w io.Writer, path string) error { } fmt.Fprintf(w, "Metadata directories created at %q.\n", ctx.Mount.BaseDir()) - fmt.Fprintf(w, "Filesystem %q (%s) ready for use with %s encryption.\n", - ctx.Mount.Path, ctx.Mount.Device, ctx.Mount.Filesystem) return nil } |