From fa9f8da4d276dd8ec15493080c7c73117d219301 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 2 Oct 1999 19:42:46 +0000 Subject: [PATCH] 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 --- sbin/mount_nfs/mount_nfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index c382deb57410..c0f074d41206 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -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)