Mounting "/Volumes/My Shared Files" as "/Users/admin" #1044
-
Tart is amazing, thank you! I'm using the base image and would really like the ( I wonder if there's a way to do this creatively using symlinks, or changing the admin user's home directory to /Volumes/My Shared Files (I tried this and the machine would no longer boot at all) but I haven't been able to figure it out. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
To answer my own question, I solved this with a Launch Daemon.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>run.tart.mountshared</string>
<key>ProgramArguments</key>
<array>
<string>/sbin/mount_virtiofs</string>
<string>admin</string>
<string>/Users/admin</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist> Saved at |
Beta Was this translation helpful? Give feedback.
-
Never mind, this works to mount the shared directory as admin's home directory but there's too much magic involved over virtiofs and macOS borks itself constantly. I'm giving up on this idea. |
Beta Was this translation helpful? Give feedback.
To answer my own question, I solved this with a Launch Daemon.
% tart run --dir=admin:tag=admin sequoia-base
Saved at
/Library/LaunchDaemons/run.tart.mountshared.plist
.