User Tools

Site Tools


linux:notes:samba_cifs_mount

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:notes:samba_cifs_mount [2024/09/10 16:59] Sean Rhonelinux:notes:samba_cifs_mount [2025/12/06 03:05] (current) Sean Rhone
Line 3: Line 3:
  
 <code>mkdir -p /media/nas && mount -t cifs //192.168.1.152/E /media/nas -o uid=1000,username=Espionage724</code> <code>mkdir -p /media/nas && mount -t cifs //192.168.1.152/E /media/nas -o uid=1000,username=Espionage724</code>
 +
 +====== New ======
 +
 +  sudo mkdir -p '/mnt/NAS' && sudo mount.cifs '//192.168.1.152/NAS' '/mnt/NAS' -o username=$USER uid='1000' gid='1000'
 +
 +  gio open '/mnt/NAS'
 +
 +  sync && sudo umount '//192.168.1.152/NAS' && sudo rm -Rf '/mnt/NAS'
  
/var/www/wiki/data/attic/linux/notes/samba_cifs_mount.1726001959.txt.gz · Last modified: (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki