In the FreeBSD manual (and on different articles on the internet) it's stated that: to be able to mount NFS mounts you must add the following lines to /etc/rc.conf
I'm running a box with FreeBSD 9.2 that needs to mount shares from a Solaris box. Right now, I have set up my mounts in /etc/fstab like this:
However, I have not enabled the NFS client in /etc/rc.conf, and it still works as excepted, i.e. my NFS are mounted automatically during boot.
So my question is: when and why do I have to explicitly enable the NFS client in /etc/rc.conf. What is the difference when enabling it and not enabling it? Is it maybe enabled by default on later FreeBSD versions?
Thanks
Code:
nfs_client_enable="YES"
nfs_client_flags="-n 4"
I'm running a box with FreeBSD 9.2 that needs to mount shares from a Solaris box. Right now, I have set up my mounts in /etc/fstab like this:
Code:
nfs-server:/export/files /files nfs ro,hard,bg 0 0
nfs-server:/export/files2 /files2 nfs rw,hard,bg 0 0
However, I have not enabled the NFS client in /etc/rc.conf, and it still works as excepted, i.e. my NFS are mounted automatically during boot.
So my question is: when and why do I have to explicitly enable the NFS client in /etc/rc.conf. What is the difference when enabling it and not enabling it? Is it maybe enabled by default on later FreeBSD versions?
Thanks