diff options
Diffstat (limited to 'static/netbsd/man8/compat_sunos.8 4.html')
| -rw-r--r-- | static/netbsd/man8/compat_sunos.8 4.html | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/static/netbsd/man8/compat_sunos.8 4.html b/static/netbsd/man8/compat_sunos.8 4.html deleted file mode 100644 index 4acb2888..00000000 --- a/static/netbsd/man8/compat_sunos.8 4.html +++ /dev/null @@ -1,92 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">COMPAT_SUNOS(8)</td> - <td class="head-vol">System Manager's Manual</td> - <td class="head-rtitle">COMPAT_SUNOS(8)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">compat_sunos</code> — - <span class="Nd">setup procedure for m68k, sparc and sparc64 - architectures</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp"><span class="Ux">NetBSD</span>/sparc64, - <span class="Ux">NetBSD</span>/sparc and some of the - <span class="Ux">NetBSD</span>/m68k architectures can run SunOS executables. - Most executables will work.</p> -<p class="Pp" id="ioctl">The exceptions include programs that use the SunOS kvm - library, and various system calls, - <a class="permalink" href="#ioctl"><code class="Fn">ioctl</code></a>()'s, or - kernel semantics that are difficult to emulate. The number of reasons why a - program might fail to work is (thankfully) longer than the number of - programs that fail to run.</p> -<p class="Pp">Static executables will normally run without any extra setup. This - procedure details the directories and files that must be set up to allow - dynamically linked executables to work.</p> -<p class="Pp">The files you need are on your SunOS machine. You need to worry - about the legal issues of ensuring that you have a right to use the required - files on your machine. On your <span class="Ux">NetBSD</span> machine, do - the following:</p> -<ol class="Bl-enum Bd-indent"> - <li id="mkdir"><a class="permalink" href="#mkdir"><code class="Li">mkdir -p - /emul/sunos/usr/lib /emul/sunos/usr/5lib</code></a></li> - <li id="cp"><a class="permalink" href="#cp"><code class="Li">cp - SunOS:/usr/lib/lib*.so.*.* NetBSD:/emul/sunos/usr/lib</code></a></li> - <li id="cp~2"><a class="permalink" href="#cp~2"><code class="Li">cp - SunOS:/usr/5lib/lib*.so.*.* NetBSD:/emul/sunos/usr/5lib</code></a></li> - <li id="cp~3"><a class="permalink" href="#cp~3"><code class="Li">cp - SunOS:/usr/lib/ld.so NetBSD:/emul/sunos/usr/lib/ld.so</code></a></li> - <li>If you ever expect to use YP, you will want to create a link: - <div class="Bd Li"> - <pre>ln -s /var/run/ypbind.lock /etc/ypbind.lock</pre> - </div> - </li> -</ol> -<p class="Pp">Alternatively, you can use an NFS mount to accomplish the same - effect. On your <span class="Ux">NetBSD</span> machine, do the - following:</p> -<ol class="Bl-enum Bd-indent"> - <li id="mkdir~2"><a class="permalink" href="#mkdir~2"><code class="Li">mkdir - -p /emul/sunos/usr</code></a></li> - <li id="mount"><a class="permalink" href="#mount"><code class="Li">mount - SunOS:/usr /emul/sunos/usr</code></a></li> -</ol> -<p class="Pp">This will place the SunOS libraries on your - <span class="Ux">NetBSD</span> machine in a location where the SunOS - compatibility code will look for first, where they do not conflict with the - standard libraries.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="NOTES"><a class="permalink" href="#NOTES">NOTES</a></h1> -<p class="Pp">When using <code class="Nm">compat_sunos</code> on - <span class="Ux">NetBSD</span>/sparc64, the - <code class="Dv">COMPAT_NETBSD32</code> option must also be used.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1> -<p class="Pp">A list of things which fail to work in compatibility mode should - be here.</p> -<p class="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 <code class="Fl">-X</code> option - to <a class="Xr">mount_nfs(8)</a>. The <code class="Fl">-2</code> option to - <a class="Xr">mount_nfs(8)</a> will also have the desired effect, but is - less preferable.</p> -<p class="Pp">The <span class="Ux">NetBSD</span>/sparc64 support is less - complete than the other ports.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">February 3, 2001</td> - <td class="foot-os">NetBSD 10.1</td> - </tr> -</table> |
