From 6ce4a06089dffa1352afbffd2f910798fddf115c Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Mon, 3 Jul 2023 20:21:08 +0400 Subject: [PATCH] Document how to remount directories on macOS guests (#537) --- docs/quick-start.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/quick-start.md b/docs/quick-start.md index 033cc9f..b75df79 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -70,6 +70,17 @@ The directory we've mounted above will be accessible from the `/Volumes/My Share Note: to use the directory mounting feature, the guest VM needs to run macOS 13.0 (Ventura) or newer. +??? tip "Changing mount location" + It is possible to remount the directories after a virtual machine is started by running the following commands: + + ```bash + sudo umount "/Volumes/My Shared Files" + mkdir ~/workspace + mount_virtiofs com.apple.virtio-fs.automount ~/workspace + ``` + + After running the above commands the direcory will be available at `~/workspace/project` + ### Accessing mounted directories in Linux guests To be able to access the shared directories from the Linux guest, you need to manually mount the virtual filesystem first: