From bc8fdc1ce7adeb3b6bf708bbc80027a48b93a8ca Mon Sep 17 00:00:00 2001 From: dillon Date: Sat, 2 Oct 1999 19:42:46 +0000 Subject: 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(+) (limited to 'sbin') diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index c382deb..c0f074d 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -815,6 +815,7 @@ tryagain: } if (--retrycnt > 0) { if (opflags & BGRND) { + warnx("Cannot immediately mount %s:%s, backgrounding", hostp, spec); opflags &= ~BGRND; if ((i = fork())) { if (i == -1) -- cgit v1.1