Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount Remove the warning about autoselecting nfs based ...



details:   https://anonhg.NetBSD.org/src/rev/a9e518bf89db
branches:  trunk
changeset: 379523:a9e518bf89db
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Jun 04 11:55:45 2021 +0000

description:
Remove the warning about autoselecting nfs based on : or @.

Ok jmcneill@, mrg@.

diffstat:

 sbin/mount/mount.8 |  9 +++------
 sbin/mount/mount.c |  9 ++-------
 2 files changed, 5 insertions(+), 13 deletions(-)

diffs (60 lines):

diff -r 71565f4a52ae -r a9e518bf89db sbin/mount/mount.8
--- a/sbin/mount/mount.8        Fri Jun 04 11:48:18 2021 +0000
+++ b/sbin/mount/mount.8        Fri Jun 04 11:55:45 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mount.8,v 1.88 2020/10/24 10:51:34 nia Exp $
+.\"    $NetBSD: mount.8,v 1.89 2021/06/04 11:55:45 simonb Exp $
 .\"
 .\" Copyright (c) 1980, 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)mount.8    8.8 (Berkeley) 6/16/94
 .\"
-.Dd October 24, 2020
+.Dd June 4, 2021
 .Dt MOUNT 8
 .Os
 .Sh NAME
@@ -137,10 +137,7 @@ or at sign
 .Pq Ql \&@ ,
 then the
 .Li nfs
-type is inferred, but this behaviour is deprecated, and will be
-removed in a future version of
-.Nm .
-.Pp
+type is inferred.
 In
 .Nx ,
 the file-system mounting policy is dictated by the running security models.
diff -r 71565f4a52ae -r a9e518bf89db sbin/mount/mount.c
--- a/sbin/mount/mount.c        Fri Jun 04 11:48:18 2021 +0000
+++ b/sbin/mount/mount.c        Fri Jun 04 11:55:45 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mount.c,v 1.103 2020/10/18 10:57:30 mlelstv Exp $      */
+/*     $NetBSD: mount.c,v 1.104 2021/06/04 11:55:45 simonb Exp $       */
 
 /*
  * Copyright (c) 1980, 1989, 1993, 1994
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)mount.c    8.25 (Berkeley) 5/8/95";
 #else
-__RCSID("$NetBSD: mount.c,v 1.103 2020/10/18 10:57:30 mlelstv Exp $");
+__RCSID("$NetBSD: mount.c,v 1.104 2021/06/04 11:55:45 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -294,11 +294,6 @@ out:
                        err(EXIT_FAILURE, "%s", buf);
                if (vfslist == NULL) {
                        if (strpbrk(argv[0], ":@") != NULL) {
-                               fprintf(stderr, "WARNING: autoselecting nfs "
-                                   "based on : or @ in the device name is "
-                                   "deprecated!\n"
-                                   "WARNING: This behaviour will be removed "
-                                   "in a future release\n");
                                vfstype = "nfs";
                        } else {
                                vfstype = getfslab(mntfromname);



Home | Main Index | Thread Index | Old Index