diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-12-07 22:24:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 22:24:40 +0100 |
commit | 167e864697ecfb7ce20faa02c01d000696d3d425 (patch) | |
tree | 3c24f0849ad0013c845d055b0d31e2d1e7caffa2 /doc/manual | |
parent | 92ff5b4254b1a38a9dba4529d3dd4e9b11ea9333 (diff) | |
parent | 80934561114df14137ef07b6c07e17dff3a95544 (diff) |
Merge pull request #5730 from abathur/darwin_document_fstab_settings
document some darwin mount settings
Diffstat (limited to 'doc/manual')
-rw-r--r-- | doc/manual/src/installation/installing-binary.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/manual/src/installation/installing-binary.md b/doc/manual/src/installation/installing-binary.md index 96fa34635..4367654a2 100644 --- a/doc/manual/src/installation/installing-binary.md +++ b/doc/manual/src/installation/installing-binary.md @@ -119,6 +119,30 @@ this to run the installer, but it may help if you run into trouble: - update `/etc/synthetic.conf` to direct macOS to create a "synthetic" empty root directory to mount your volume - specify mount options for the volume in `/etc/fstab` + - `rw`: read-write + - `noauto`: prevent the system from auto-mounting the volume (so the + LaunchDaemon mentioned below can control mounting it, and to avoid + masking problems with that mounting service). + - `nobrowse`: prevent the Nix Store volume from showing up on your + desktop; also keeps Spotlight from spending resources to index + this volume + <!-- TODO: + - `suid`: honor setuid? surely not? ... + - `owners`: honor file ownership on the volume + + For now I'll avoid pretending to understand suid/owners more + than I do. There've been some vague reports of file-ownership + and permission issues, particularly in cloud/VM/headless setups. + My pet theory is that this has something to do with these setups + not having a token that gets delegated to initial/admin accounts + on macOS. See scripts/create-darwin-volume.sh for a little more. + + In any case, by Dec 4 2021, it _seems_ like some combination of + suid, owners, and calling diskutil enableOwnership have stopped + new reports from coming in. But I hesitate to celebrate because we + haven't really named and catalogued the behavior, understood what + we're fixing, and validated that all 3 components are essential. + --> - if you have FileVault enabled - generate an encryption password - put it in your system Keychain |