summaryrefslogtreecommitdiff
path: root/share/man/man8/compat_linux.8
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>1998-12-28 11:17:26 +0000
committerHugh Graham <hugh@cvs.openbsd.org>1998-12-28 11:17:26 +0000
commit27d258d05725fbf53a368d662afc2a7d5b54bae3 (patch)
treebe6bfc1333cb1237b3c4adb53c5952d3dd6252df /share/man/man8/compat_linux.8
parent70c36114086ff0d85b6b333215dcaed6e7310aa8 (diff)
emulation includes audio and cdrom
Diffstat (limited to 'share/man/man8/compat_linux.8')
-rw-r--r--share/man/man8/compat_linux.826
1 files changed, 21 insertions, 5 deletions
diff --git a/share/man/man8/compat_linux.8 b/share/man/man8/compat_linux.8
index c926b5528d9..4e5bfd2a334 100644
--- a/share/man/man8/compat_linux.8
+++ b/share/man/man8/compat_linux.8
@@ -38,11 +38,11 @@
.Sh DESCRIPTION
OpenBSD supports running Linux binaries. This only applies to i386 systems
for now. Both the a.out and ELF binary formats are supported. Most programs
-should work, including the ones that use the Linux SVGAlib. Programs that
-will not work include the Linux /proc filesystem (which is different from
-the optional OpenBSD /proc filesystem), and i386-specific calls, such as
-enabling virtual 8086 mode. Currently, sound is not supported for Linux
-binaries (they will probably run, but not produce any sound).
+should work, including the ones that use the Linux SVGAlib. Additionally,
+OSS audio is emulated, so Linux bins can access the native audio
+transparently. Programs that will not work include the Linux /proc filesystem
+(which is different from the optional OpenBSD /proc filesystem), and
+i386-specific calls, such as enabling virtual 8086 mode.
.Pp
The Linux compatibility feature is active
for kernels compiled with the
@@ -326,5 +326,21 @@ some symbloic links in the /emul/linux/dev directory, namely:
Be warned: the first link mentioned here makes SVGAlib binaries
work, but may confuse others, so you may have to remove it again at
some point.
+.Ss Programs using OSS (Linux) audio
+Only the DSP device is emulated, the following link should be created:
+.Pp
+.nf
+/emul/linux/dev/dsp -> /dev/audio
+.fi
+.Pp
+.Ss Other links Linux bins may require
+.Pp
+CD-ROM support requires a link to your cdrom device, similar to:
+.Pp
+.nf
+/emul/linux/dev/cdrom -> /dev/acd0a (first atapi cdrom)
+/emul/linux/dev/cdrom -> /dev/cd0a (first scsi cdrom)
+.fi
+.Pp
.Sh BUGS
The information about Linux distributions may become outdated.