History log of /openbsd-current/sys/sys/dkio.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.12 24-Oct-2017 jsg

remove defines for ioctls the kernel doesn't recognise
ok mpi@


Revision tags: OPENBSD_6_2_BASE
# 1.11 29-Jul-2017 zhuk

Goodbye, sys/dkbad.h, you lost your last friend when sparc was removed.

Spotted and diff provided by Andrey Bolkonskiy <andrey0bolkonsky@gmail.com>,
thanks!

okay deraadt@


# 1.10 29-May-2017 sf

Add an ioctl to tell storage devices to flush their internal caches

Currently implemented for wd and sd.
Initially ported from netbsd by pedro@

ok deraadt@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.9 05-Jun-2011 matthew

Drop kernel support for the useless DIOCWLABEL ioctl and prune a lot
of silly flag twiddling code in various disk drivers.

ok deraadt@, miod@

N.B., users will need a -current disklabel(8) to be able to write new
disklabels to disk now.


Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.8 08-Jun-2010 jsing

Introduce a diskmap pseudo device which allows userland to open a disk
specified via its disklabel UID. The mapping from the disklabel UID to the
real disk and the opening of the resulting device is performed atomically
using a single ioctl.

ok krw@ deraadt@


# 1.7 19-May-2010 dlg

add an ioctl that allows userland to get or set a disks read and write
caches, and implement handling of these ioctls on vanilla scsi disks.

discussed with krw@, marco@, miod@, kettenis@.
krw@ has a diff to make the sd.c code prettier coming shortly.


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.6 03-Apr-2007 dlg

provide an ioctl interface for userland to ask disk drivers about various
product details.


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE SMP_SYNC_A SMP_SYNC_B
# 1.5 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE SMP_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B kame_19991208
# 1.4 10-Aug-1999 deraadt

branches: 1.4.4;
add DIOCRLDINFO ioctl: causes driver to reload the disklabel


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.3 03-Oct-1998 millert

Add DIOCGPDINFO ioctl and use it in disklabel's new -p mode


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE
# 1.2 03-Mar-1996 niklas

From NetBSD: 960217 merge


# 1.1 20-Feb-1996 briggs

Bring in from NetBSD.