diff options
Diffstat (limited to 'static/netbsd/man8/compat_bsdos.8 4.html')
| -rw-r--r-- | static/netbsd/man8/compat_bsdos.8 4.html | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/static/netbsd/man8/compat_bsdos.8 4.html b/static/netbsd/man8/compat_bsdos.8 4.html deleted file mode 100644 index dad249b8..00000000 --- a/static/netbsd/man8/compat_bsdos.8 4.html +++ /dev/null @@ -1,93 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">COMPAT_BSDOS(8)</td> - <td class="head-vol">System Manager's Manual</td> - <td class="head-rtitle">COMPAT_BSDOS(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_bsdos</code> — - <span class="Nd">binary compatibility for BSDi releases</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<p class="Pp">The <code class="Dv">COMPAT_NOMID</code> kernel option includes - compatibility with - BSDi<span class="No"> 1.</span><i class="Em">x</i>–3.<i class="Em">x</i> - <a class="Xr">a.out(5)</a> binaries on <span class="Ux">NetBSD</span>/i386 - and <span class="Ux">NetBSD</span>/amd64. The option is enabled by default - in the <code class="Li">GENERIC</code> kernel on i386, but needs to be set - along with <code class="Dv">EXEC_AOUT</code> on amd64.</p> -<p class="Pp">Null memory protection must be disabled with the - <a class="Xr">sysctl(7)</a> option <var class="Va">vm.user_va0_disable</var> - set to <code class="Li">0</code> for the binaries to run successfully.</p> -<p class="Pp"><span class="Ux">BSD/OS</span> binaries may be placed under - <span class="Pa">/emul</span> directory to match the location of other - non-native executables on <span class="Ux">NetBSD</span>, but the - compatibility environment does not automatically lookup libraries under - <span class="Pa">/emul/bsdos</span> as happens with the shared libraries for - <span class="Ux">NetBSD 1.0–1.5</span> <a class="Xr">a.out(5)</a> - binaries under <span class="Pa">/emul/aout</span>.</p> -<p class="Pp">BSD/386<span class="No"> 1.0–1.1</span> uses static - binaries that do not dynamically load libraries at runtime.</p> -<p class="Pp"><span class="Ux">BSD/OS 2.0</span> introduced “static - shared libraries” as the default for standard binaries. The shared - libraries are compiled from <span class="Pa">/lib</span> and - <span class="Pa">/usr/lib</span> to a custom format bound to memory loading - addresses for each library under <span class="Pa">/shlib</span>. BSDi - libraries under <span class="Pa">/shlib</span> are not in the standard - <a class="Xr">ar(5)</a> or position-independent shared object formats and - cannot be loaded by <a class="Xr">ldconfig(8)</a> on - <span class="Ux">NetBSD</span>. In order for BSDi executables to access the - objects at the hardcoded <span class="Pa">/shlib</span> path, the user may - setup a symbolic link from <span class="Pa">/shlib</span> to - <span class="Pa">/emul/bsdos/shlib</span>.</p> -<p class="Pp"><span class="Ux">BSD/OS 4.0</span> switched to an ELF binary - executable format that does not run under the compatibility layers currently - available on <span class="Ux">NetBSD</span>.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">ld.aout_so(1)</a>, <a class="Xr">options(4)</a>, - <a class="Xr">a.out(5)</a>, <a class="Xr">elf(5)</a>, - <a class="Xr">sysctl(7)</a>, <a class="Xr">compat_netbsd32(8)</a>, - <a class="Xr">ldconfig(8)</a></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1> -<p class="Pp">BSD/386<span class="No"> 1.0–1.1</span> was derived - from <span class="Ux">4.3BSD</span> Reno code in the Net/2 release.</p> -<p class="Pp"><span class="Ux">BSD/OS 2.0</span> was based on - <span class="Ux">4.4BSD</span> Lite, but added the new static shared library - format as the runtime default for executables. The build system included the - <code class="Li">shlicc</code> command with the - <code class="Fl">-Bstatic</code> flag that allowed reverting to the standard - library archive format that remained available under - <span class="Pa">/lib</span> and <span class="Pa">/usr/lib</span>.</p> -<p class="Pp"><span class="Ux">NetBSD 1.0</span> added shared libraries using a - standard position-independent shared object format. The previous default - relocatable libraries in the traditional <a class="Xr">ar(5)</a> format - remained available.</p> -<p class="Pp"><span class="Ux">OpenBSD 2.2–4.7</span> included a - different compatibility implementation under the - <code class="Dv">COMPAT_BSDOS</code> kernel option.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1> -<p class="Pp"><span class="Ux">BSD/OS</span> compatibility was broken on - <span class="Ux">NetBSD 5–6</span>.</p> -<p class="Pp"><span class="Ux">BSD/OS 3.0</span> added SPARC support, but the - binaries are incorrectly recognized as SunOS executables and fail on - <span class="Ux">NetBSD</span>/sparc and - <span class="Ux">NetBSD</span>/sparc64.</p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">August 27, 2020</td> - <td class="foot-os">NetBSD 10.1</td> - </tr> -</table> |
