Home | History | Annotate | Download | only in ioctl
History log of /src/external/gpl2/lvm2/dist/libdm/ioctl/libdm-nbsd-iface.c
RevisionDateAuthorComments
 1.13  03-Dec-2025  mlelstv Fix error message.
 1.12  24-Nov-2018  mlelstv Support device nodes that have no entry in /dev, identify them by major:minor
numbers like the original Linux code.

While here, fix a memory leak.
 1.11  08-Feb-2011  haad branches: 1.11.42; 1.11.44;
Switch libdevmapper library to use libdm as it;s backend lib and do not
communicate with device-mapper directly. Our lvm stack now looks like this
lvm<->libdevmapper<->libdm<->dm where only libdm knows how our dm protocol
looks like.

No objections on tech-userlevel@.
 1.10  12-Jan-2011  haad branches: 1.10.2;
Use DM_DEVICE_CONTROL_MODE, because mapper/control device should have 660
and not 640 permissions.
 1.9  26-Dec-2010  christos - don't forget to restore the umask on error.
- save and restore umask for control
- chown/chgrp for raw devices
 1.8  23-Dec-2010  christos PR/44267: Michael van Elst: LVM devices have wrong permissions
- Centralize CPPFLAGS for DM_DEVICE_{UID,GID,MODE}
- Make DM_DEVICE_GID operator DM_DEVICE_MODE 0640 to be more NetBSD like
- make all the code use DM_DEVICE_MODE instead of hard-coding.
- make sure that all mknod calls are followed by a chown call.
 1.7  12-Mar-2010  haad Fix /var/run/dev.db dependency by adding new get_dev_name routine which
converts raw device major:minor number to block device path. By reading
/dev and using stat to find block device major:minor numbers.
 1.6  09-Dec-2009  haad Add support for building RUMP_ACTION libdevmapper which will build and link
libdevmapper with RUMP kernel and libdm(RUMP based device-mapper library).
This enables testing of dmsetup and libdevmapper with RUMP.
 1.5  05-Dec-2009  haad Addapt libdevmapper library to new header file changes.
 1.4  02-Dec-2009  haad Fix build, add missing symbols, remove unknown ioctls etc.
 1.3  01-Dec-2009  haad Revert my commit which 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@
 1.2  05-Jun-2009  haad 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.

XXX. Add more sanity checks in kernel.
 1.1  22-Dec-2008  haad Add NetBSD bits to the original LVM2 tools sources.
 1.10.2.1  08-Feb-2011  bouyer Sync with HEAD
 1.11.44.1  10-Jun-2019  christos Sync with HEAD
 1.11.42.1  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts

RSS XML Feed