Synopsis
mount_virtiofs [-r] [-u uid] [-g gid] fs_tag directory
Description
The mount_virtiofs command attaches the virtio-fs file system associated with fs_tag to the global file system namespace at the location indicated by directory.
The options are as follows:
-r: Mount file system as read-only.-u: Set the owner of the files in the file system to uid. The uid may be a username or a numeric value.-g: Set the group of the files in the file system to gid. The gid may be a group name or a numeric value.
Diagnostics
The mount_virtiofs utility exits 0 on success, and >0 if an error occurs.
See Also
mount(2), unmount(2), fstab(5), mount(8), umount(8)
macOS September 14, 2020 macOS