Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mons

mons (from Latin mons — mountain / mount) mounts and unmounts filesystems. It serves as the native Vesper Linux replacement for both GNU mount and umount.

When called via the umount symlink, it automatically switches to unmount mode.

Usage

mons [--mkdir] [-o OPTIONS] -t FSTYPE SOURCE DESTINATION
mons -u [-f] TARGET
umount [-f] TARGET

Flags

  • -t — filesystem type (e.g., ext4, btrfs, vfat). Required for mounts unless performing a bind mount.
  • -o — comma-separated mount options (ro, rw, nosuid, nodev, noexec, remount, bind, rbind, noatime, nodiratime, relatime, sync, or filesystem-specific data options).
  • --mkdir — automatically create the destination mount point directory (0755) if it does not exist.
  • -u — unmount the specified target.
  • -f — force unmount (only valid alongside -u or when invoked as umount).

Examples

Mount an ext4 partition:

mons -t ext4 /dev/sda1 /mnt

Mount with options and automatically create the target directory:

mons --mkdir -o noatime,ro -t btrfs /dev/sdb2 /mnt/data

Perform a bind mount:

mons -o bind /source/dir /target/dir

Unmount a filesystem:

mons -u /mnt

Force unmount using standard alias:

umount -f /mnt