Alasdair Kergon
cbdccf0a9c
Lots of dmevent changes.
...
Export dm_basename().
Cope with a trailing space when comparing tables prior to possible reload.
2007-01-08 15:18:52 +00:00
Alasdair Kergon
1fd5f562d3
noflush code fixes: missing debug log; non-standard variable name
2006-10-12 17:29:05 +00:00
Alasdair Kergon
45abade7fc
Add suspend noflush support.
...
Add basic dmsetup loop support.
2006-10-12 15:42:25 +00:00
Alasdair Kergon
54fb2ebbe0
Add lockfs indicator to debug output.
2006-08-08 21:22:31 +00:00
Alasdair Kergon
b4fb7af1df
Don't suppress identical table reloads if permission changes.
2006-06-14 22:00:03 +00:00
Alasdair Kergon
abed57cb53
Use name-based device refs if kernel doesn't support device number refs.
...
Fix memory leak (struct dm_ioctl) when struct dm_task is reused.
2006-04-03 15:56:02 +00:00
Alasdair Kergon
c01a800a6b
If _create_and_load_v4 fails part way through, revert the creation.
2006-03-30 15:15:47 +00:00
Alasdair Kergon
ed43dc842b
A setgeometry implementation. [untested]
2006-02-20 23:55:58 +00:00
Alasdair Kergon
ed036598a9
Add exported functions to set uid, gid and mode. [Bastian Blank]
2006-02-03 14:23:22 +00:00
Alasdair Kergon
18218467f3
remove unnecessary 0 in format string
2006-02-02 17:23:04 +00:00
Alasdair Kergon
d031a374f9
Rename _log to dm_log and export.
...
Fix misc compile-time warnings.
2006-01-31 14:50:38 +00:00
Alasdair Kergon
9aa3465513
Export dm_task_update_nodes.
...
Use names instead of numbers in messages when ioctls fail.
2005-12-01 23:11:41 +00:00
Alasdair Kergon
6db4dcff7a
Drop leading zeros from dm_format_dev.
...
Suppress attempt to reload identical table.
2005-11-22 18:43:12 +00:00
Alasdair Kergon
374a171e82
Fix selinux compile.
2005-11-10 18:31:17 +00:00
Alasdair Kergon
e5895500a2
remove a debugging line
2005-11-10 15:17:54 +00:00
Alasdair Kergon
40788e8c3d
New activation code. [Not ready to be used yet.]
2005-11-08 22:50:11 +00:00
Alasdair Kergon
6172cf9fba
Fix incorrect checkin
2005-10-26 18:32:57 +00:00
Alasdair Kergon
b728ec3909
Fix strncmps.
2005-10-26 18:17:36 +00:00
Alasdair Kergon
17d13dd084
Also suppress error if device doesn't exist with DM_DEVICE_STATUS.
2005-10-26 17:51:10 +00:00
Alasdair Kergon
20128bd04b
zero suppress
2005-10-20 20:38:18 +00:00
Alasdair Kergon
c0fefdde28
fix dev no printf
2005-10-20 20:29:58 +00:00
Alasdair Kergon
c6880c957e
Tidy some log mesgs.
2005-10-18 13:07:41 +00:00
Alasdair Kergon
251d138474
export bitset, pool, hash, malloc
2005-10-16 22:57:20 +00:00
Alasdair Kergon
f569abd28a
Code to build and display device dependency tree.
2005-10-16 14:33:22 +00:00
Alasdair Kergon
088f9687c0
Add dmsetup --nolockfs support for suspend/reload.
...
Requires kernel patches to have any effect.
Library version incremented.
2005-10-04 20:12:32 +00:00
Alasdair Kergon
25621396c9
Remember increased buffer size and use for subsequent calls.
2005-09-20 18:04:28 +00:00
Alasdair Kergon
653cab13f8
On 'buffer full' condition, double buffer size and repeat ioctl. [Untested]
2005-09-19 14:29:17 +00:00
Alasdair Kergon
0da3965d19
Report 'buffer full' condition with v4 ioctl as well as with v1.
2005-08-08 18:40:17 +00:00
Alasdair Kergon
196b8eaad3
Use matchpathcon mode parameter
2005-06-13 13:11:48 +00:00
Alasdair Kergon
ebfe584afc
Call dm_lib_exit() and dm_lib_release() automatically now.
2005-05-16 15:15:34 +00:00
Alasdair Kergon
2bfd64c3c9
Add option to compile without ioctl for testing.
2005-01-27 16:16:54 +00:00
Alasdair Kergon
181ea9a381
Add dm_task_no_open_count() to skip getting open_count.
2005-01-12 22:10:14 +00:00
Alasdair Kergon
f4ad6e2157
Fix /proc/devices parsing.
2005-01-07 15:39:53 +00:00
Alasdair Kergon
8502c6da3c
Attempt to fix /dev/mapper/control transparently if it's wrong.
2005-01-06 18:22:44 +00:00
Alasdair Kergon
6eebc4a620
Configuration-time option for setting uid/gid/mode for /dev/mapper nodes.
2005-01-05 22:00:40 +00:00
Alasdair Kergon
1ca102d639
Support device referencing by uuid or major/minor.
2004-10-01 19:11:37 +00:00
Alasdair Kergon
0ac430892e
Fix device number handling for 2.6 kernels.
2004-07-01 15:14:29 +00:00
Alasdair Kergon
4991428510
Fix targets string size calc in driver.
...
Fix a uuid free in libdm-iface. [Eric Taylor]
Update version.
2004-06-20 13:50:42 +00:00
Alasdair Kergon
9812657777
Support new target message ioctl.
2004-06-08 20:34:40 +00:00
Alasdair Kergon
6e0f638f5e
Build process fixes/tidy-ups.
2004-04-02 15:18:38 +00:00
Alasdair Kergon
d622f79533
Add 2.4 support for DM_LIST_VERSIONS (dmsetup targets).
...
Rebaseline patches to 2.4.26-rc1.
2004-03-31 18:54:17 +00:00
Alasdair Kergon
880f210946
Update copyright messages.
2004-03-30 19:08:57 +00:00
Alasdair Kergon
85dedc324c
Move full mknodes functionality from dmsetup into libdevmapper.
2004-03-30 14:31:58 +00:00
Alasdair Kergon
9d00ad5f18
Extract log.h and tweak funcs to be like lvm2 ones.
2004-02-24 18:50:09 +00:00
Alasdair Kergon
19a0fb04ad
Userspace support for LIST_VERSIONS ioctl.
2004-01-23 14:37:47 +00:00
Alasdair Kergon
fb1748fb0f
dmsetup mknodes
2003-11-13 13:14:28 +00:00
Alasdair Kergon
5cf64db74e
Accept tables from stdin with dmsetup.
...
Update autoconf.
2003-11-12 17:30:32 +00:00
Alasdair Kergon
488cc94f36
Exclude v1 compatibility code when configured with --disable-compat
...
[Use this with 2.6 kernels + device-mapper V4 interface]
CVS ----------------------------------------------------------------------
2003-11-10 21:06:16 +00:00
Alasdair Kergon
4049c1e480
Backwards compatibility fix for version1 suspend/resume.
2003-07-05 23:20:43 +00:00
Alasdair Kergon
e720464330
Support for v4 interface
2003-07-01 21:20:58 +00:00