RELENG_8.

### setup
mount -d -a -l -v -t nfs
exec: mount_nfs -o ro -o tcp -o bg -o nolockd -o intr 192.168.0.10:/tmp /mnt
exec: mount_nfs -o ro -o tcp -o bg -o nolockd -o intr foo:/tmp /mnt

192.168.0.10 has been unplugged, no arp entry.
Host foo not found: 3(NXDOMAIN)

### result
mount -v 192.168.0.10:/tmp ; echo $?
[tcp] 192.168.0.10:/tmp: RPCPROG_NFS: RPC: Port mapper failure - RPC: Timed out
mount_nfs: Cannot immediately mount 192.168.0.10:/tmp, backgrounding
/dev/ad0s1a on / (ufs, local, read-only, fsid <snip1>)
0

[this is ok.]


mount -v foo:/tmp ; echo $?
mount_nfs: foo: hostname nor servname provided, or not known
/dev/ad0s1a on / (ufs, local, read-only, fsid <snip1>)
1

[drops to shell, which is obviously bad behaviour.]
[mount_nfs should background as in the former.]
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to