IT/Software/System Config/etc/fstab: Difference between revisions

From msgwiki
< IT‎ | Software‎ | System Config‎ | etc
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
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

fstab entry for msgcnx nfs share

  • 192.168.2.100:/home/walt/msgcnxFiles/ /mnt nfs auto 0 0

fstab entry for msgcnx nfs share on WiFi

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