summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/setup.c
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-04-10 22:05:47 +0000
committeriedowse <iedowse@FreeBSD.org>2001-04-10 22:05:47 +0000
commit07990b1abd77fe39068d80308bb7a5d9e63fe9dc (patch)
treebaf688e29634a20f8db41f331b02e7864f043a14 /sbin/fsck_ffs/setup.c
parentee034b0be21d76a493ce0170922a2953a43bff4a (diff)
downloadFreeBSD-src-07990b1abd77fe39068d80308bb7a5d9e63fe9dc.zip
FreeBSD-src-07990b1abd77fe39068d80308bb7a5d9e63fe9dc.tar.gz
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>
Diffstat (limited to 'sbin/fsck_ffs/setup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud