Module Name: src
Committed By: nia
Date: Sun Sep 26 11:22:29 UTC 2021
Modified Files:
src/share/man/man8: compat_linux.8
Log Message:
Update remarks on Linux-flavored procfs.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/share/man/man8/compat_linux.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man8/compat_linux.8
diff -u src/share/man/man8/compat_linux.8:1.43 src/share/man/man8/compat_linux.8:1.44
--- src/share/man/man8/compat_linux.8:1.43 Thu Sep 23 09:07:39 2021
+++ src/share/man/man8/compat_linux.8 Sun Sep 26 11:22:29 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: compat_linux.8,v 1.43 2021/09/23 09:07:39 ryo Exp $
+.\" $NetBSD: compat_linux.8,v 1.44 2021/09/26 11:22:29 nia Exp $
.\"
.\" Copyright (c) 1995 Frank van der Linden
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd September 23, 2021
+.Dd September 26, 2021
.Dt COMPAT_LINUX 8
.Os
.Sh NAME
@@ -165,16 +165,23 @@ Mount procfs on
.Nx
using following command:
.Bl -tag -width 123 -offset indent
-.It $ mount_procfs -o linux procfs /emul/linux/proc
+.It $ mount_procfs procfs /emul/linux/proc
.El
.Pp
You can also set up your system so that procfs is mounted automatically
on system boot, by putting an entry like the one below to
.Pa /etc/fstab .
.Bl -tag -width 123 -offset indent
-.It procfs /emul/linux/proc procfs ro,linux
+.It procfs /emul/linux/proc procfs ro
.El
.Pp
+Note:
+.Xr mount_procfs 8
+defaults to Linux flavored procfs since
+.Nx 5.0 .
+Ensure you do not mount procfs with
+.Ar nolinux .
+.Pp
See
.Xr mount_procfs 8
for further information.