diff options
author | 2014-07-02 22:35:42 +0000 | |
---|---|---|
committer | 2014-07-02 22:35:42 +0000 | |
commit | 3489512bfbed399f876e18e8756ce5e17b6e550a (patch) | |
tree | 9c21b4d40fc353a455146d157512915dcc7e0b77 | |
parent | Various small typographic fixes for mman.h manual pages: (diff) | |
download | wireguard-openbsd-3489512bfbed399f876e18e8756ce5e17b6e550a.tar.xz wireguard-openbsd-3489512bfbed399f876e18e8756ce5e17b6e550a.zip |
Document the ioctl() argument types for sd(4)'s ioctls
Also, cleanup some lies about which header defines these ioctls
-rw-r--r-- | share/man/man4/cd.4 | 6 | ||||
-rw-r--r-- | share/man/man4/sd.4 | 18 | ||||
-rw-r--r-- | share/man/man4/vnd.4 | 6 |
3 files changed, 15 insertions, 15 deletions
diff --git a/share/man/man4/cd.4 b/share/man/man4/cd.4 index 2ad7fb6a6c4..cf829266cd6 100644 --- a/share/man/man4/cd.4 +++ b/share/man/man4/cd.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cd.4,v 1.23 2014/06/28 07:08:14 jmc Exp $ +.\" $OpenBSD: cd.4,v 1.24 2014/07/02 22:35:42 matthew Exp $ .\" $NetBSD: cd.4,v 1.3 1996/10/20 23:15:21 explorer Exp $ .\" .\" Copyright (c) 1996 @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: June 28 2014 $ +.Dd $Mdocdate: July 2 2014 $ .Dt CD 4 .Os .Sh NAME @@ -77,7 +77,7 @@ The following calls which apply to CD-ROM drives are defined in the header files .In sys/cdio.h and -.In sys/disklabel.h . +.In sys/dkio.h . .Bl -tag -width Ds .It Dv DIOCGDINFO , DIOCSDINFO Fa "struct disklabel *" Read or write the in-core copy of the disklabel for the drive. diff --git a/share/man/man4/sd.4 b/share/man/man4/sd.4 index bb45cb315e0..b5990a1588f 100644 --- a/share/man/man4/sd.4 +++ b/share/man/man4/sd.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sd.4,v 1.19 2014/01/21 03:15:46 schwarze Exp $ +.\" $OpenBSD: sd.4,v 1.20 2014/07/02 22:35:42 matthew Exp $ .\" $NetBSD: sd.4,v 1.3 1996/10/20 23:15:23 explorer Exp $ .\" .\" Copyright (c) 1996 @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: July 2 2014 $ .Dt SD 4 .Os .Sh NAME @@ -137,14 +137,14 @@ calls apply to .Tn SCSI disks as well as to other disks. They are defined in the header file -.In sys/disklabel.h . -.Bl -tag -width DIOCSDINFO +.In sys/dkio.h . +.Bl -tag -width Ds .\".It Dv DIOCSBAD .\"Usually used to set up a bad-block mapping system on the disk. .\".Tn SCSI .\"drive incorporate their own bad-block mapping so this command is not .\"implemented. -.It Dv DIOCGDINFO +.It Dv DIOCGDINFO Fa "struct disklabel *" Read, from the kernel, the in-core copy of the disklabel for the drive. This may be a fictitious disklabel if the drive has never @@ -152,24 +152,24 @@ been initialized, in which case it will contain information read from the .Tn SCSI inquiry commands. -.It Dv DIOCSDINFO +.It Dv DIOCSDINFO Fa "struct disklabel *" Give the driver a new disklabel to use. The driver .Em will not write the new disklabel to the disk. -.It Dv DIOCWDINFO +.It Dv DIOCWDINFO Fa "struct disklabel *" Give the driver a new disklabel to use. The driver .Em will write the new disklabel to the disk. -.It Dv DIOCLOCK +.It Dv DIOCLOCK Fa "int *" Lock the media cartridge into the device, or unlock a cartridge previously locked. Used to prevent user and software eject while the media is in use. .It Dv DIOCEJECT Eject the media cartridge from a removable device. -.It Dv DIOCINQ +.It Dv DIOCINQ Fa "struct dk_inquiry *" Read the devices product information. .El .Pp diff --git a/share/man/man4/vnd.4 b/share/man/man4/vnd.4 index a24d71f39a0..43224c8532a 100644 --- a/share/man/man4/vnd.4 +++ b/share/man/man4/vnd.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vnd.4,v 1.27 2014/01/21 03:15:46 schwarze Exp $ +.\" $OpenBSD: vnd.4,v 1.28 2014/07/02 22:35:42 matthew Exp $ .\" $NetBSD: vnd.4,v 1.1 1995/12/30 18:10:48 thorpej Exp $ .\" .\" Copyright (c) 1995 Jason R. Thorpe. @@ -32,7 +32,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: July 2 2014 $ .Dt VND 4 .Os .Sh NAME @@ -137,7 +137,7 @@ Additionally, some related .Xr ioctl 2 calls defined in -.In sys/disklabel.h +.In sys/dkio.h are available: .Dv DIOCGDINFO , .Dv DIOCSDINFO , |