git: a6d7347f3042 - stable/15 - virtual_oss.8: Use `.Pa` macro to refer to devices
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Jun 2026 01:11:42 UTC
The branch stable/15 has been updated by obiwac:
URL: https://cgit.FreeBSD.org/src/commit/?id=a6d7347f3042d72deb6a6a822101e7be36ccf07d
commit a6d7347f3042d72deb6a6a822101e7be36ccf07d
Author: Aymeric Wibo <obiwac@FreeBSD.org>
AuthorDate: 2026-06-24 14:33:41 +0000
Commit: Aymeric Wibo <obiwac@FreeBSD.org>
CommitDate: 2026-06-27 01:11:05 +0000
virtual_oss.8: Use `.Pa` macro to refer to devices
Suggested by: christos
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
(cherry picked from commit 31461c8bc9c16004feae9cc17b89fd5213a09ae0)
---
usr.sbin/virtual_oss/virtual_oss/virtual_oss.8 | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)
diff --git a/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8 b/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
index b9dc8fd86a3c..14a531c708b4 100644
--- a/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
+++ b/usr.sbin/virtual_oss/virtual_oss/virtual_oss.8
@@ -23,7 +23,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd May 7, 2026
+.Dd June 24, 2026
.Dt VIRTUAL_OSS 8
.Os
.Sh NAME
@@ -142,17 +142,24 @@ The sixth argument gives the amplitude, default is zero or no gain.
Set control device name.
.It Fl P Ar devname
Set playback DSP device only.
-Specifying /dev/null is magic and means no playback device.
+Specifying
+.Pa /dev/null
+is magic and means no playback device.
Specifying a
.Xr sndio 7
-device descriptor prefixed by "/dev/sndio/" is also magic, and will use a sndio
-backend rather than an OSS device.
+device descriptor prefixed by
+.Pa /dev/sndio/
+is also magic, and will use a sndio backend rather than an OSS device.
.It Fl O Ar devname
Set playback DSP device only which acts as a master device.
-This option is used in conjunction with -R /dev/null .
+This option is used in conjunction with
+.Fl R
+.Pa /dev/null .
.It Fl R Ar devname
Set recording DSP device only.
-Specifying /dev/null is magic and means no recording device.
+Specifying
+.Pa /dev/null
+is magic and means no recording device.
.It Fl f Ar devname
Set both playback and recording DSP device
.It Fl w Ar name
@@ -166,7 +173,9 @@ Users have to be part of the audio group to access this device.
This is a security measure to avoid unintended snooping by unprivileged users.
.It Fl L Ar name
Create a loopback OSS device which acts as a master device.
-This option is used in conjunction with -f /dev/null .
+This option is used in conjunction with
+.Fl f
+.Pa /dev/null .
.It Fl F Ar size
Set receive filter size in number of samples or <milliseconds>ms for the next
device to be created.