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
SYNOPSIS
Section titled “SYNOPSIS”netshare-mounter mount SHARE MOUNTPOINT [OPTIONS]
DESCRIPTION
Section titled “DESCRIPTION”Configure and mount an SMB/CIFS share using systemd mount unit
- Alias: m
ARGUMENTS
Section titled “ARGUMENTS”SMB share path (e.g., //192.168.1.29/plex_storage)
- Required
MOUNTPOINT
Section titled “MOUNTPOINT”Local mount point directory (e.g., /mnt/plex_storage)
- Required
OPTIONS
Section titled “OPTIONS”—username, -u USERNAME
Section titled “—username, -u USERNAME”SMB username (will prompt interactively if not provided)
—password, -p PASSWORD
Section titled “—password, -p PASSWORD”SMB password (will prompt interactively if not provided)
—domain, -d DOMAIN
Section titled “—domain, -d DOMAIN”SMB domain (optional)
—uid UID
Section titled “—uid UID”User ID for file ownership
- Default Value: 1000
—gid GID
Section titled “—gid GID”Group ID for file ownership
- Default Value: 1000
—file-mode FILE_MODE
Section titled “—file-mode FILE_MODE”File permissions in octal format
- Default Value: 0644
—dir-mode DIR_MODE
Section titled “—dir-mode DIR_MODE”Directory permissions in octal format
- Default Value: 0755
—cifs-version VERSION
Section titled “—cifs-version VERSION”CIFS protocol version
- Default Value: 3.0
- Allowed Values: 1.0, 2.0, 2.1, 3.0, 3.1.1
—credentials-file, -c CREDS_FILE
Section titled “—credentials-file, -c CREDS_FILE”Path to credentials file (auto-generated based on mount point if not specified)
—auto-install
Section titled “—auto-install”Automatically install cifs-utils without prompting
—enable-only
Section titled “—enable-only”Only enable the mount unit without starting it
EXAMPLES
Section titled “EXAMPLES”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-installSEE ALSO
Section titled “SEE ALSO”netshare-mounter(1)