This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| app-notes:samba-server [2026/02/25 08:02] – [Setting up a Samba server] gray | app-notes:samba-server [2026/02/25 09:56] (current) – [Integrating external storage into the container system] gray | ||
|---|---|---|---|
| Line 231: | Line 231: | ||
| The whole thing is integrated via a cron job, so that it is always available when the router is restarted. | The whole thing is integrated via a cron job, so that it is always available when the router is restarted. | ||
| + | |||
| + | Queries with which file system the external storage was formatted. | ||
| + | |||
| + | < | ||
| + | ~ $ blkid /dev/sda1 | ||
| + | /dev/sda1: UUID=" | ||
| + | ~ $ | ||
| + | </ | ||
| + | |||
| First, we create a script file called '' | First, we create a script file called '' | ||
| + | The entry for the '' | ||
| < | < | ||
| mknod /dev/sda1 b 8 1 | mknod /dev/sda1 b 8 1 | ||
| mount -t vfat /dev/sda1 / | mount -t vfat /dev/sda1 / | ||
| + | </ | ||
| + | |||
| + | The entry for the '' | ||
| + | |||
| + | < | ||
| + | mknod /dev/sda1 b 8 1 | ||
| + | mount -t exfat /dev/sda1 / | ||
| </ | </ | ||
| Line 247: | Line 264: | ||
| </ | </ | ||
| - | On new Linux systems, '' | ||
| - | | ||
| 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. | ||
| - | '' | + | '' |
| To test it, you can now simply run this file. | To test it, you can now simply run this file. | ||
| Line 256: | Line 271: | ||
| < | < | ||
| - | + | @reboot / | |
| - | * * * * * | + | * * * * * / |
| </ | </ | ||
| Line 271: | Line 286: | ||
| < | < | ||
| - | sudo mount -t cifs -o user=loidl, | + | mount -t cifs -o user=loidl, |
| </ | </ | ||