MOUNT.VBOXSF(8)

πŸ“¦
version 7.2.20-dfsg Β· 2 versions
, in ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

mount.vboxsf β€” the x86 virtualization solution, aka the lil buddy that lets your guest peek at your host's shared folders πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

mount.vboxsf [OPTIONS] NAME MOUNTPOINT

πŸ’… DESCRIPTION πŸ’…

Okay bestie, here's the vibe: this mounts the VirtualBox shared folder NAME from the host system over to MOUNTPOINT. That's the whole job, and it does it iconically.

Here's the flag lineup, no cap:

  • -w β€” mount the shared folder writable (this is the default, so it's the main character unless you say otherwise) ✍️
  • -r β€” mount the shared folder read-only (look but don't touch energy πŸ”’)
  • -n β€” do not create an mtab entry
  • -s β€” sloppy parsing, ignore unrecognized mount options (lowkey unbothered ✨)
  • -o OPTION[,OPTION...] β€” use the mount options specified

Available mount options are:

  • rw β€” mount writable (again, the default πŸ’…)
  • ro β€” mount read only
  • uid=UID β€” set the default file owner user id to UID
  • gid=GID β€” set the default file owner group id to GID
  • ttl=MILLIESECSONDS β€” set the "time to live" for both the directory cache and inode info. -1 for kernel default, 0 disables it. ⏳
  • dcachettl=MILLIES β€” set the "time to live" for the directory cache, overriding the ttl option. Ignored if negative.
  • inodettl=MILLIES β€” set the "time to live" for the inode information, overriding the ttl option. Ignored if negative.
  • maxiopages=PAGES β€” set the max host I/O buffers size in pages. Uses default if zero.
  • dirbuf=BYTES β€” set the directory enumeration buffer size in bytes. Uses default size if zero.
  • cache=MODE β€” set the caching mode for the mount. Allowed values are:
    • default: use the kernel default (strict)
    • none: no caching; may experience guest side coherence issues between mmap and read.
    • strict: no caching, except for writably mapped files (for guest side coherence)
    • read: read via the page cache; host changes may be completely ignored
    • readwrite: read and write via the page cache; host changes may be completely ignored and guest changes takes a while to reach the host
  • dmode=MODE β€” override the mode of all directories to (octal) MODE
  • fmode=MODE β€” override the mode of all regular files to (octal) MODE
  • umask=UMASK β€” set the umask to (octal) UMASK
  • dmask=UMASK β€” set the umask applied to directories only
  • fmask=UMASK β€” set the umask applied to regular files only
  • iocharset CHARSET β€” use the character set CHARSET for I/O operations (default set is utf8) 🌈
  • convertcp CHARSET β€” convert the folder name from CHARSET to utf8

Less common used options:

  • noexec, exec, nodev, dev, nosuid, suid
fr fr, if you're reaching for those last ones you already know what you're doing 🫢

and that's the whole page, bestie β€” go mount something pretty πŸ’œ

This was mount.vboxsf, part of the System Administration Utilities, dated April 2024. Mwah, ty for reading, periodt πŸ’…πŸŽ€