Ian Dowse 317d5933d4 Split out all the RPC code into a separate function and address a
number of issues:

- Fix background mounts; these were broken in revision 1.40.
- Don't give up before trying all addresses returned by getaddrinfo().
- Use protocol-independent routines where possible.
- Improve error reporting for RPC errors.
- In non-background mode, give up after trying all protocols once.
- Use daemon(3) instead of rolling our own version.
- Never go ahead with the mount() syscall until we have received
  a reply from the remote nfsd; this is especially important with
  non-interruptible mounts, as otherwise a mistyped command might
  require a reboot to correct.

Reviewed by:	alfred, Martin Blapp <mb@imp.ch>
2001-04-10 22:05:47 +00:00
..
2001-04-07 11:21:35 +00:00
2001-04-08 18:41:22 +00:00
2001-04-08 18:41:22 +00:00
2001-04-04 08:42:40 +00:00
2001-04-07 11:21:35 +00:00
2001-04-07 11:21:35 +00:00
2001-04-10 16:29:41 +00:00
2001-03-19 07:59:38 +00:00