History log of /netbsd-src/sys/dev/dm/netbsd-dm.h (Results 1 – 9 of 9)
Revision Date Author Comments
# 997f8393 06-Dec-2019 tkusumi <tkusumi@NetBSD.org>

dm: Remove trailing whitespace


# b408dd7e 03-Dec-2019 tkusumi <tkusumi@NetBSD.org>

dm: Remove unused macro DM_CMD_LEN

that was added but never used in both NetBSD and DragonFlyBSD.
taken-from: DragonFlyBSD


# c5df2cb7 04-Jun-2017 mbalmer <mbalmer@NetBSD.org>

fix typo in comment


# 1fbab01a 06-Sep-2015 dholland <dholland@NetBSD.org>

More on PR 41200: headers that declare ioctls should include sys/ioccom.h.
This covers (I think) all the MI headers outside of external/ (and dist/).


# bd8ee331 05-Dec-2009 haad <haad@NetBSD.org>

Include only user-kernel communication protocol related information in this header.


# f26bfe28 01-Dec-2009 haad <haad@NetBSD.org>

Revert my commit which have added knowledge about dm targets to libdevmapper,
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can
have knowledge about target mapping and libde

Revert my commit which have added knowledge about dm targets to libdevmapper,
this breaks abstraction. Because only lvmtools/lvmlib and device-mapper can
have knowledge about target mapping and libdevmapper only passes requests
from lvmtools to kernel and back. Bump major library and driver version.

Requested by: yamt@

show more ...


# 62e994ce 05-Jun-2009 haad <haad@NetBSD.org>

Parse dm param string in libdevmapper and not in a dm target init function.
Create proplib param dictionary entry in libdevmapper and pass it to dm in
dm_ioctl dict.
Param target is then passed to ta

Parse dm param string in libdevmapper and not in a dm target init function.
Create proplib param dictionary entry in libdevmapper and pass it to dm in
dm_ioctl dict.
Param target is then passed to target init function, where is parse. I like
this aproach much better than passing char **argv and trusting to user input.

I have bumped minor lib/driver version.

XXX. Add more sanity checks in kernel.

show more ...


# 9401ff0b 22-Dec-2008 haad <haad@NetBSD.org>

Remove DM_TABLE_DEPS it is not used in kernel driver and it breaks build
of libdevmapper because it clashes with DM_TABLE_DEPS from dm-ioctl.h.


# c9d0c62a 19-Dec-2008 haad <haad@NetBSD.org>

Merge the haad-dm branch to -current. This branch adds LVM functionality to
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.

The device-mapper driver can b

Merge the haad-dm branch to -current. This branch adds LVM functionality to
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.

The device-mapper driver can be used to create virtual block devices which
maps virtual blocks to real with target mapping called target. Currently
these targets are available a linear, zero, error and a snapshot (this is
work in progress and doesn't work yet).

The lvm2tools adds lvm and dmsetup binary to based system, where the lvm
tool is used to manage and administer whole LVM and the dmestup is used to
communicate iwith device-mapper kernel driver. With these tools also
a libdevmapper library is instaled to the base system.

Building of tools and driver is currently disable and can be enabled with
MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.

Oked by agc@ and cube@.

show more ...