1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00
freebsd/sbin/mount_nfs
Gleb Smirnoff 8cd9718f0b When a machine boots the NFS mounting script is executed after
interfaces are configured, but for many interfaces (e.g. all Intel)
ifconfig causes link renegotiation, so the first attempt to mount
NFS always fails. After that mount_nfs sleeps for 30 seconds, while
only a couple seconds are actually required for interface to get up.

Instead of sleeping, do select(2) on routing socket and check if
some interface became UP and in this case retry immediately.

Reviewed by:	rmacklem
Differential Revision:	https://reviews.freebsd.org/D23934
2020-03-04 22:27:16 +00:00
..
Makefile
Makefile.depend
mount_nfs.8 Update the mount_nfs.8 man page to include NFSv4.2. 2019-12-14 21:49:47 +00:00
mount_nfs.c When a machine boots the NFS mounting script is executed after 2020-03-04 22:27:16 +00:00