Note what to do in the rare case that dirent system calls fail because
of > 32 bit offset cookies: point to the mount_nfs -X option (or -2 option).
This commit is contained in:
parent
57417153bd
commit
3b90a0ef5e
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: compat_linux.8,v 1.7 1997/04/29 16:16:40 perry Exp $
|
||||
.\" $NetBSD: compat_linux.8,v 1.8 1997/10/19 15:03:15 fvdl Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1995 Frank van der Linden
|
||||
.\" All rights reserved.
|
||||
|
@ -359,3 +359,19 @@ The information about Linux distributions may become outdated.
|
|||
.Pp
|
||||
Pathnames pointed to by symbolic links are not looked up in the
|
||||
shadow root when running a Linux executable. This is not consistent.
|
||||
.Pp
|
||||
Linux executables can not handle directory offset cookies > 32 bits.
|
||||
Should such an offset occur, you will see the message "linux_getdents:
|
||||
dir offset too large for emulated program". Currently, this can only
|
||||
happen on NFS mounted filesystems, mounted from servers that return
|
||||
offsets with information in the upper 32 bits. These errors should
|
||||
rarely happen, but can be avoided by mounting this filesystem with offset
|
||||
translation enabled. See the
|
||||
.Fl X
|
||||
option to
|
||||
.Xr mount_nfs 8 .
|
||||
The
|
||||
.Fl 2
|
||||
option to
|
||||
.Xr mount_nfs 8
|
||||
will also have the desired effect, but is less preferable.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: compat_sunos.8,v 1.7 1997/02/27 08:05:39 mikel Exp $
|
||||
.\" $NetBSD: compat_sunos.8,v 1.8 1997/10/19 15:03:16 fvdl Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1984 Theo de Raadt
|
||||
.\" All rights reserved.
|
||||
|
@ -97,3 +97,20 @@ first, where they do not conflict with the standard libraries.
|
|||
.Sh BUGS
|
||||
A list of things which fail to work in compatibility mode should
|
||||
be here.
|
||||
.Pp
|
||||
SunOS executables can not handle directory offset cookies > 32 bits.
|
||||
Should such an offset occur, you will see the message "sunos_getdents:
|
||||
dir offset too large for emulated program". Currently, this can only
|
||||
happen on NFS mounted filesystems, mounted from servers that return
|
||||
offsets with information in the upper 32 bits. These errors should
|
||||
rarely happen, but can be avoided by mounting this filesystem with offset
|
||||
translation enabled. See the
|
||||
.Fl X
|
||||
option to
|
||||
.Xr mount_nfs 8 .
|
||||
The
|
||||
.Fl 2
|
||||
option to
|
||||
.Xr mount_nfs 8
|
||||
will also have the desired effect, but is less preferable.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
.\" $NetBSD: compat_svr4.8,v 1.5 1997/06/08 23:55:26 jonathan Exp $
|
||||
.\" $NetBSD: compat_svr4.8,v 1.6 1997/10/19 15:03:17 fvdl Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1996 Christos Zoulas
|
||||
.\" All rights reserved.
|
||||
|
@ -145,3 +145,20 @@ and then override with other mounts /emul/svr4/etc and /emul/svr4/dev.
|
|||
.Sh BUGS
|
||||
Many system calls are still not emulated. The streams emulation is
|
||||
incomplete (socketpair does not work yet).
|
||||
.Pp
|
||||
Most SVR4 executables can not handle directory offset cookies > 32
|
||||
bits. More recent ones, compiled for large file support (Solaris 2.6
|
||||
and up) can. With older programs, you will see the message "svr4_getdents:
|
||||
dir offset too large for emulated program" when this happens. Currently,
|
||||
this can only happen on NFS mounted filesystems, mounted from servers
|
||||
that return offsets with information in the upper 32 bits. These errors
|
||||
should rarely happen, but can be avoided by mounting this filesystem with
|
||||
offset translation enabled. See the
|
||||
.Fl X
|
||||
option to
|
||||
.Xr mount_nfs 8 .
|
||||
The
|
||||
.Fl 2
|
||||
option to
|
||||
.Xr mount_nfs 8
|
||||
will also have the desired effect, but is less preferable.
|
||||
|
|
Loading…
Reference in New Issue