天天看點

Linux smb 的挂載和取消挂載

挂載 smb

Step 1: Install the CIFS Utils pkg

`sudo apt-get install cifs-utils`
           

Step 2: Create a mount point

sudo mkdir /mnt/<local_share>
           

Step 3: Mount the volume

sudo mount -t cifs -o username=<your NAS username> //<vpsa_ip_address>/<export_share> /mnt/<local_share>
           

取消挂載 smb

sudo umount /mnt/<local_share>
           

繼續閱讀