mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
darwin: Mount hfs+ case-sensitive
sops-nix assumes this is the case since it's the default on linux
This commit is contained in:
parent
0cd7cac744
commit
b549832718
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ func MountSecretFs(mountpoint string, keysGID int, _useTmpfs bool, userMode bool
|
|||
log.Printf("hdiutil attach ret %v. out: %s", err, diskpath)
|
||||
|
||||
// format as hfs
|
||||
out, err = exec.Command("newfs_hfs", diskpath).Output()
|
||||
out, err = exec.Command("newfs_hfs", "-s", diskpath).Output()
|
||||
log.Printf("newfs_hfs ret %v. out: %s", err, out)
|
||||
|
||||
// "posix" mount takes `struct hfs_mount_args` which we dont have bindings for at hand.
|
||||
|
|
Loading…
Reference in a new issue