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
app-notes:samba-server [2026/02/25 08:13] – [Integrating external storage into the container system] grayapp-notes:samba-server [2026/02/25 09:56] (current) – [Integrating external storage into the container system] gray
Line 242: Line 242:
  
 First, we create a script file called ''“$ vi samba_release.sh"''. First, we create a script file called ''“$ vi samba_release.sh"''.
 +
 +The entry for the ''vfat'' file system:
  
 <code> <code>
Line 247: Line 249:
 mount -t vfat /dev/sda1 /mnt/home/data -o uid=1000,gid=1000,umask=000 mount -t vfat /dev/sda1 /mnt/home/data -o uid=1000,gid=1000,umask=000
 </code> </code>
 +
 +The entry for the ''exfat'' file system:
  
 <code> <code>
Line 252: Line 256:
 mount -t exfat /dev/sda1 /mnt/home/data -o uid=1000,gid=1000,umask=000 mount -t exfat /dev/sda1 /mnt/home/data -o uid=1000,gid=1000,umask=000
 </code> </code>
- 
  
 For the ''NTFS'' file system, please use this mount point. For the ''NTFS'' file system, please use this mount point.
Line 262: Line 265:
  
 We still need to change the permissions for this file so that it is executable. We still need to change the permissions for this file so that it is executable.
-''chmod a+x samba_release.sh”''+''“chmod a+x samba_release.sh”''
  
 To test it, you can now simply run this file. To test it, you can now simply run this file.
Line 268: Line 271:
  
 <konsole> <konsole>
- +@reboot /root/samba_release.sh 
-* * * * *           /root/samba_release.sh+* * * * * /root/samba_release.sh
 </konsole> </konsole>
  
Line 283: Line 286:
  
 <code> <code>
-sudo mount -t cifs -o user=loidl,gid=1000,uid=1000 //192.168.1.100/data /mnt/austausch+mount -t cifs -o user=loidl,gid=1000,uid=1000 //192.168.1.100/data /mnt/home/exchange
 </code> </code>