diff options
author | 2010-08-19 15:45:35 +0000 | |
---|---|---|
committer | 2010-08-19 15:45:35 +0000 | |
commit | df2e0bb680eb078c1f2dcef6084b517b32e5899d (patch) | |
tree | 3d293a5a79201fee8f5e84afba735092228e491f | |
parent | Correctly decode and print access point names. (diff) | |
download | wireguard-openbsd-df2e0bb680eb078c1f2dcef6084b517b32e5899d.tar.xz wireguard-openbsd-df2e0bb680eb078c1f2dcef6084b517b32e5899d.zip |
Add man page for diskmap(4).
Feedback from krw@ and jmc@.
ok krw@ jmc@
-rw-r--r-- | share/man/man4/Makefile | 7 | ||||
-rw-r--r-- | share/man/man4/diskmap.4 | 50 |
2 files changed, 54 insertions, 3 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 1b29c882dc7..aa967559f5d 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.513 2010/07/31 08:33:20 ratchov Exp $ +# $OpenBSD: Makefile,v 1.514 2010/08/19 15:45:35 jsing Exp $ MAN= aac.4 ac97.4 acphy.4 \ acpi.4 acpiac.4 acpiasus.4 acpibat.4 acpibtn.4 acpicpu.4 acpidock.4 \ @@ -16,8 +16,9 @@ MAN= aac.4 ac97.4 acphy.4 \ boca.4 bpf.4 brgphy.4 bridge.4 btkbd.4 btms.4 btsco.4 bwi.4 \ cac.4 cas.4 cardbus.4 carp.4 ccd.4 cd.4 cdce.4 cdcef.4 che.4 cfxga.4 \ ch.4 ciphy.4 ciss.4 clcs.4 clct.4 cmpci.4 cnw.4 \ - com.4 crypto.4 cue.4 cy.4 cz.4 dc.4 dcphy.4 ddb.4 de.4 divert.4 dpt.4 \ - drm.4 eap.4 ec.4 eephy.4 ef.4 eg.4 ehci.4 eisa.4 el.4 em.4 gcu.4 \ + com.4 crypto.4 cue.4 cy.4 cz.4 dc.4 dcphy.4 ddb.4 de.4 \ + diskmap.4 divert.4 dpt.4 drm.4 \ + eap.4 ec.4 eephy.4 ef.4 eg.4 ehci.4 eisa.4 el.4 em.4 gcu.4 \ emu.4 enc.4 endrun.4 envy.4 ep.4 epic.4 esa.4 \ eso.4 ess.4 et.4 etphy.4 ex.4 exphy.4 \ faith.4 fd.4 fdc.4 fins.4 fintek.4 fms.4 fpa.4 fxp.4 gdt.4 \ diff --git a/share/man/man4/diskmap.4 b/share/man/man4/diskmap.4 new file mode 100644 index 00000000000..bbe9f115c1c --- /dev/null +++ b/share/man/man4/diskmap.4 @@ -0,0 +1,50 @@ +.\" $OpenBSD: diskmap.4,v 1.1 2010/08/19 15:45:35 jsing Exp $ +.\" +.\" Copyright (c) 2010 Joel Sing <jsing@openbsd.org> +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: August 19 2010 $ +.Dt DISKMAP 4 +.Os +.Sh NAME +.Nm diskmap +.Nd disklabel UID mapping interface +.Sh SYNOPSIS +.Fd #include <sys/dkio.h> +.Sh DESCRIPTION +The +.Nm +driver provides userland applications with a means to map a disklabel UID to +an actual device and open that device in one atomic operation. +This is achieved via the DIOCMAP +.Xr ioctl 2 +command. +.Sh FILES +.Bl -tag -width /dev/diskmap -compact +.It Pa /dev/diskmap +diskmap device +.El +.Sh SEE ALSO +.Xr ioctl 2 , +.Xr MAKEDEV 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.8 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Joel Sing . |