mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
1.7 KiB
1.7 KiB
Mount
Table of contents
TL;DR
# Mount a file system by its label.
mount -L 'label' '/path/to/mount/point'
# Mount a file system by its UUID.
mount -U 'uuid' '/path/to/mount/point'
# Manually Mount a SMB share.
mount -t 'cifs' -o 'username=user_name' '//server/share_name' '/mount/point'
# Mount a SMB share using an encrypted SMB 3.0 connection.
mount -t 'cifs' -o 'username=DOMAIN\Administrator,seal,vers=3.0' \
'//server_name/share_name' '/mount/point'
# Mount a NFS share
mount -t 'nfs' 'server:/share_name' '/mount/point'
mount -t 'nfs' -o 'nfsvers=3,nolock' 'server:/share_name' '/mount/point'
# Mount a temporary RAM disk.
mount -t tmpfs tmpfs '/mount/point' -o 'size=2048m'