Print a warning that includes the mount source when the foreground

mount fails prior to going into the background when a background NFS
    mount is requested.

PR:		misc/12376
This commit is contained in:
Matthew Dillon 1999-10-02 19:42:46 +00:00
parent 075ff1d959
commit fa9f8da4d2

View File

@ -815,6 +815,7 @@ getnfsargs(spec, nfsargsp)
}
if (--retrycnt > 0) {
if (opflags & BGRND) {
warnx("Cannot immediately mount %s:%s, backgrounding", hostp, spec);
opflags &= ~BGRND;
if ((i = fork())) {
if (i == -1)