Skip to content

netshare-mounter mount

% netshare-mounter-mount(1) | Configure and mount an SMB/CIFS share using systemd mount unit % % October 2025

netshare-mounter mount - Configure and mount an SMB/CIFS share using systemd mount unit

netshare-mounter mount SHARE MOUNTPOINT [OPTIONS]

Configure and mount an SMB/CIFS share using systemd mount unit

  • Alias: m

SMB share path (e.g., //192.168.1.29/plex_storage)

  • Required

Local mount point directory (e.g., /mnt/plex_storage)

  • Required

SMB username (will prompt interactively if not provided)

SMB password (will prompt interactively if not provided)

SMB domain (optional)

User ID for file ownership

  • Default Value: 1000

Group ID for file ownership

  • Default Value: 1000

File permissions in octal format

  • Default Value: 0644

Directory permissions in octal format

  • Default Value: 0755

CIFS protocol version

  • Default Value: 3.0
  • Allowed Values: 1.0, 2.0, 2.1, 3.0, 3.1.1

Path to credentials file (auto-generated based on mount point if not specified)

Automatically install cifs-utils without prompting

Only enable the mount unit without starting it

netshare-mounter mount //192.168.1.29/plex_storage /mnt/plex_storage
netshare-mounter mount //server/share /mnt/share -u myuser -p mypass
netshare-mounter mount //nas/media /mnt/media --uid 1000 --gid 1000 --auto-install

netshare-mounter(1)