Raspberry Pi Server
UUID=ece31d22-201d-4421-b540-4337b029d72f (device or filesystem to be mounted) /media/mydisk (mount point for the filesystem) ext4 (it describes the type of the filesystem) nofail,auto (options: nofail, do not report errors for this device if it does not exist; auto, the filesystem can be mounted automatically) 0 (dump option. It is seldom used so if you are in doubt, just use 0) 0 (disable checking the file system at boot).
[pi] # Each section in the configuration file describes a shared resource path = /media/mydisk/samba # This is the shared resource's path comment = My Samba Share # Comment string to be associate with the new shared resource browseable = yes # The resource is seen in the list of available shares in a net view and in the browse list read only = no # read only = no, and writable = yes allow all users to access and write create mask = 0700 directory mask = 0700 writable = yes valid users = nmaximo7 # It restricts access to specific users8. Create a user group: _sudo groupadd -r sambausers_