IT/Software/System Config/etc/fstab: Difference between revisions
Access restrictions were established for this page. If you see this message, you have no access to this page.
Walttheboss (talk | contribs) No edit summary |
Walttheboss (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
<code>@reboot sleep 30 && mount -a</code> | <code>@reboot sleep 30 && mount -a</code> | ||
That needs you to complete the login process and connect to wifi within 30 second | |||
So I just ran the mount command every minute. If already mounted the fstab entries are ignored. | |||
<code>*/1 * * * * mount -a</code> | |||
==fstab entry for regular ext4 partition== | ==fstab entry for regular ext4 partition== | ||
*<code>UUID=7f76a626-9d54-45ce-9af7-69e884cb4ecd /path/to/mount ext4 defaults 0 0</code> | *<code>UUID=7f76a626-9d54-45ce-9af7-69e884cb4ecd /path/to/mount ext4 defaults 0 0</code> |
Latest revision as of 06:37, 24 August 2021
192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs auto 0 0
192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs _netdev 0 0
You may also need to add a crontab to mount 30 seconds
@reboot sleep 30 && mount -a
That needs you to complete the login process and connect to wifi within 30 second
So I just ran the mount command every minute. If already mounted the fstab entries are ignored.
*/1 * * * * mount -a
fstab entry for regular ext4 partition
UUID=7f76a626-9d54-45ce-9af7-69e884cb4ecd /path/to/mount ext4 defaults 0 0