Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2025 07:19:49 GMT
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 406bb67b4fd7 - main - sa(4): Dont talk about minor device numbers: We have had DEVFS for 25 years.
Message-ID:  <202508130719.57D7Jn3D069388@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by phk:

URL: https://cgit.FreeBSD.org/src/commit/?id=406bb67b4fd7595b2e833b6e6e7ae3d744dd84fb

commit 406bb67b4fd7595b2e833b6e6e7ae3d744dd84fb
Author:     Poul-Henning Kamp <phk@FreeBSD.org>
AuthorDate: 2025-08-13 07:18:28 +0000
Commit:     Poul-Henning Kamp <phk@FreeBSD.org>
CommitDate: 2025-08-13 07:18:28 +0000

    sa(4): Dont talk about minor device numbers: We have had DEVFS for 25 years.
---
 share/man/man4/sa.4 | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/share/man/man4/sa.4 b/share/man/man4/sa.4
index 699a940a34d1..6c948a0f21ab 100644
--- a/share/man/man4/sa.4
+++ b/share/man/man4/sa.4
@@ -82,21 +82,19 @@ the case where a control mode device is opened.
 In the latter case, exclusive
 access is only sought when needed (e.g., to set parameters).
 .Sh SUB-MODES
-Bits 0 and 1 of the minor number are interpreted as
-.Sq sub-modes .
 The sub-modes differ in the action taken when the device is closed:
 .Bl -tag -width XXXX
-.It 00
+.It Pa /dev/sa*
 A close will rewind the device; if the tape has been
 written, then a file mark will be written before the rewind is requested.
 The device is unmounted.
-.It 01
+.It Pa /dev/nsa*
 A close will leave the tape mounted.
 If the tape was written to, a file mark will be written.
 No other head positioning takes place.
 Any further reads or writes will occur directly after the
 last read, or the written file mark.
-.It 10
+.It Pa /dev/esa*
 A close will rewind the device.
 If the tape has been
 written, then a file mark will be written before the rewind is requested.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202508130719.57D7Jn3D069388>