NetBSD-Bugs archive

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

bin/41238: mount_nfs.8 has a deprecated example



>Number:         41238
>Category:       bin
>Synopsis:       mount_nfs.8 has a deprecated example
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 17 11:55:00 +0000 2009
>Originator:     Todd Kover
>Release:        NetBSD 5.0_RC2
>Organization:
Omniscient Technologies
>Environment:
System: NetBSD slivovice.cz.omniscient.com 5.0_RC2 NetBSD 5.0_RC2 (GENERIC) #0: 
Thu Feb 12 04:31:18 EST 2009 
kovert%saidin.omniscient.com@localhost:/usr/obj/5.0-stable/i386/amd/guinness/usr/src/os/NetBSD-5.0-branch/src/sys/arch/i386/compile/GENERIC
 i386
(still exists in HEAD and the netbsd-5 branch).
Architecture: i386
Machine: i386
>Description:
        mount_nfs.8 says:

     The simplest way to invoke mount_nfs is with a command like:

           mount remotehost:/filesystem /localmountpoint
     or:
           mount -t nfs remotehost:/filesystem /localmountpoint


The first example shouldn't be there since this behavior is deprecated.
>How-To-Repeat:
        man mount_nfs
        /EXAMPLES
        read
>Fix:
--- src/sbin/mount_nfs/mount_nfs.8      2007-11-09 07:25:00.000000000 -0500
+++ src/sbin/mount_nfs/mount_nfs.8      2009-04-17 07:45:14.000000000 -0400
@@ -384,8 +384,6 @@
 .Nm
 is with a command like:
 .Pp
-.Dl "mount remotehost:/filesystem /localmountpoint
-or:
 .Dl "mount -t nfs remotehost:/filesystem /localmountpoint
 .Pp
 It is also possible to automatically mount filesystems at boot from your



Home | Main Index | Thread Index | Old Index