IT/Software/System Config/etc/fstab

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.

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