![]() ![]() -o credentials=/etc/samba/creds,uid=1000,gid=1000: The options parameters are the path to a file called creds that is secured and contains the user name and password for the Raspberry Pi user the User ID (UID) and Group ID (GID) that are used to set the owner and group of the root of the file system.Let’s break down the parts of that command. ![]() When the installation has completed, mount the share with a command like the following, changing the IP address, share name and mount point (which must already exist) to suit your circumstances. On other Linux distributions, use your Linux distribution’s package management tool instead. Use apt-get to install this package onto your system if you’re using Ubuntu or another Debian-based distribution. They type exit to disconnect from the Raspberry Pi and the prompt changes back to use Samba, you must install the cifs-utils package. ![]() The contents are two directories, one called dave and one called pat. So now we know what to expect when we mount the Samba share. They list the contents of the shared directory at /media/pi/USB64/Backup. The df command can also be used to display which file systems are mounted and where their mount points are. RELATED: Which Linux File System Should You Use? Interrogate Your File System With df
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |