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:11] – [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>
 mknod /dev/sda1 b 8 1 mknod /dev/sda1 b 8 1
 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>
 +
 +The entry for the ''exfat'' file system:
 +
 +<code>
 +mknod /dev/sda1 b 8 1
 +mount -t exfat /dev/sda1 /mnt/home/data -o uid=1000,gid=1000,umask=000
 </code> </code>
  
Line 255: Line 264:
 </code> </code>
  
-On new Linux systems, ''“ntfs3”'' can also be used as a mount point. 
-                 
 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 264: Line 271:
  
 <konsole> <konsole>
- +@reboot /root/samba_release.sh 
-* * * * *           /root/samba_release.sh+* * * * * /root/samba_release.sh
 </konsole> </konsole>
  
Line 279: 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>