Skip to content

Commit

Permalink
clarify whether fstab nobrowse works
Browse files Browse the repository at this point in the history
  • Loading branch information
abathur committed Oct 23, 2020
1 parent 980efc7 commit d43b343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-darwin-volume.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ generate_mount_command(){
if test_filevault_in_use; then
printf " <string>%s</string>\n" /bin/sh -c '/usr/bin/security find-generic-password -l "Nix Volume" -a "Nix Volume" -s "Nix Volume" -w | /usr/sbin/diskutil apfs unlockVolume "Nix Volume" -mountpoint /nix -stdinpassphrase'
else
printf " <string>%s</string>\n" /usr/sbin/diskutil mount nobrowse -mountPoint /nix "Nix Volume"
printf " <string>%s</string>\n" /usr/sbin/diskutil mount -mountPoint /nix "Nix Volume"
fi
}

Expand Down

0 comments on commit d43b343

Please sign in to comment.