Alasdair Kergon
5b95f17814
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
f916f0a7b7
Add suspend noflush support.
...
Add basic dmsetup loop support.
2006-10-12 15:42:25 +00:00
Alasdair Kergon
9e063b223e
Add dm_snprintf
2006-08-21 12:52:39 +00:00
Alasdair Kergon
7d7736b7b4
Add dm_split_words() and dm_split_lvm_name() to libdevmapper.
2006-08-21 12:07:03 +00:00
Alasdair Kergon
9723090c92
Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
2006-05-11 19:10:55 +00:00
Alasdair Kergon
f4db3724f9
Add file & line to dm_strdup_aux().
2006-02-23 19:11:51 +00:00
Alasdair Kergon
6ef080af04
A setgeometry implementation. [untested]
2006-02-20 23:55:58 +00:00
Alasdair Kergon
b5d8ff1014
Add exported functions to set uid, gid and mode. [Bastian Blank]
2006-02-03 14:23:22 +00:00
Alasdair Kergon
5e3bd86778
Rename _log to dm_log and export.
...
Fix misc compile-time warnings.
2006-01-31 14:50:38 +00:00
Alasdair Kergon
c55b141005
Add dm_tree_skip_lockfs.
2006-01-30 23:36:04 +00:00
Alasdair Kergon
fe94f9f170
Fix dm_strdup debug definition.
2006-01-10 22:19:41 +00:00
Alasdair Kergon
1c9b9a5ecf
Fix libdevmapper.h #endif
2006-01-04 16:05:44 +00:00
Alasdair Kergon
ce7ed2c0a9
Change dm_tree_node_add_mirror_target_log parm order
2005-12-19 21:03:17 +00:00
Alasdair Kergon
dbcb64b80f
Add sync, nosync and block_on_error mirror log parameters.
...
Add hweight32.
2005-12-13 15:49:27 +00:00
Alasdair Kergon
774ed5fc39
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
ec289b64b9
Drop leading zeros from dm_format_dev.
...
Suppress attempt to reload identical table.
2005-11-22 18:43:12 +00:00
Alasdair Kergon
5dd9b4656f
more debug fixes
2005-11-11 16:16:37 +00:00
Alasdair Kergon
91a7cf559d
fix debug linking
2005-11-10 16:33:04 +00:00
Alasdair Kergon
e6a6954ef1
revert - alternative pvmove fix, disabling preloading completely for now
2005-11-09 23:57:40 +00:00
Alasdair Kergon
24b026e333
some fixes for mirrors
2005-11-09 17:32:31 +00:00
Alasdair Kergon
b4f1578fc2
rename deptree
2005-11-09 14:10:50 +00:00
Alasdair Kergon
165e4a112b
New activation code. [Not ready to be used yet.]
2005-11-08 22:50:11 +00:00
Alasdair Kergon
db208f51fd
unfinished suspend functions
2005-10-25 19:09:41 +00:00
Alasdair Kergon
3aeb569036
Export dm_set_selinux_context.
2005-10-25 17:30:00 +00:00
Alasdair Kergon
a6d97ede7b
cope with null uuid_prefix
2005-10-18 13:57:11 +00:00
Alasdair Kergon
3e8c6b731a
Add deactivation functions
2005-10-18 12:37:53 +00:00
Alasdair Kergon
ffc88f2eeb
dm_driver_version
2005-10-17 18:05:39 +00:00
Alasdair Kergon
a3f6b2ce79
export bitset, pool, hash, malloc
2005-10-16 22:57:20 +00:00
Alasdair Kergon
3d0480ed27
Code to build and display device dependency tree.
2005-10-16 14:33:22 +00:00
Alasdair Kergon
72a444276f
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
ebf21d3f93
Call dm_lib_exit() and dm_lib_release() automatically now.
2005-05-16 15:15:34 +00:00
Alasdair Kergon
8e2dd0dfb2
Add dm_task_no_open_count() to skip getting open_count.
2005-01-12 22:10:14 +00:00
Alasdair Kergon
62cec9b225
Support new target message ioctl.
2004-06-08 20:34:40 +00:00
Alasdair Kergon
8b67f40de2
Update copyright messages.
2004-03-30 19:08:57 +00:00
Alasdair Kergon
cf37d5c7ab
Userspace support for LIST_VERSIONS ioctl.
2004-01-23 14:37:47 +00:00
Alasdair Kergon
1f86c3397e
Option to revert to default logging function after using a custom one.
2003-12-21 16:08:20 +00:00
Alasdair Kergon
2864846d91
dmsetup mknodes
2003-11-13 13:14:28 +00:00
Alasdair Kergon
b8a20fc82a
Accept tables from stdin with dmsetup.
...
Update autoconf.
2003-11-12 17:30:32 +00:00
Alasdair Kergon
d71bfabe39
Support for v4 interface
2003-07-01 21:20:58 +00:00
Alasdair Kergon
8563ab0304
Event number support.
2003-04-29 11:34:23 +00:00
Alasdair Kergon
12428fceee
Allow device major to be set too.
2003-04-02 19:03:00 +00:00
Alasdair Kergon
8aa577ad34
Proposed changes to the ioctl interface to fix alignment issues on some
...
architectures and specify an explicit width for every numeric field.
2003-03-28 18:58:59 +00:00
Alasdair Kergon
39662e362a
Allow optional verbose logging
2003-01-21 21:25:11 +00:00
Alasdair Kergon
92ad2d555b
Import snapshot status & persistence + indent etc.
2002-05-10 15:25:38 +00:00
Patrick Caulfield
f6524657fa
Add features to get table/status & wait for next event.
2002-05-03 11:55:58 +00:00
Alasdair Kergon
b2de0b7d44
dmsetup display uuid
2002-03-13 16:19:17 +00:00
Alasdair Kergon
ad21a5585c
Let dmsetup store the uuid on device creation.
2002-03-11 22:44:36 +00:00
Alasdair Kergon
e09a7b5787
o dm_destroy_all() called on exit - but doesn't touch suspended devices yet.
...
o 'dmsetup remove_all' calls dm_destroy_all() to provide a quick way to
prepare for unloading the module
o Ran through indent again.
2002-03-07 20:56:10 +00:00
Alasdair Kergon
9f7b698007
Kernel functionality that returns device dependencies (ejt).
2002-03-06 19:42:23 +00:00
Joe Thornber
761e0a63e1
o Add support for getting dependencies for a device.
...
o dmsetup dependencies <dev>
2002-03-06 14:38:25 +00:00
Alasdair Kergon
444b7d2360
Add function that returns the library version.
2002-01-17 14:13:25 +00:00
Alasdair Kergon
6198a4102c
Another ioctl interface update:
...
Supply offset to start of variable data area (so struct size can change
without breaking backward compatibility)
Add command that just returns the driver version
2002-01-15 15:21:57 +00:00
Alasdair Kergon
1ed34e88aa
o Add rename support to dmsetup.
...
o Add support to use specified minor number to library and dmsetup.
2002-01-11 12:12:46 +00:00
Alasdair Kergon
e3851db216
Support the renaming of active mapped devices (ioctl interface only).
2002-01-10 23:29:16 +00:00
Alasdair Kergon
eefe4b2097
stub for read-only functions with fs interface
2002-01-03 15:12:02 +00:00
Joe Thornber
f17673f1d0
o Added -r, --read-only switch to dmsetup for use with create and reload.
2002-01-03 10:39:21 +00:00
Alasdair Kergon
638754e559
Various fixes & restructure to extract common code.
2001-12-05 16:41:52 +00:00
Joe Thornber
6f842a9b05
o use the major number returned from dm_ioctl.
2001-11-21 17:57:57 +00:00
Joe Thornber
8f8cf896d6
o You can now specify the dev directory for libdm
...
o dm_dir() returns the full path to the device-mapper dir (eg, /dev/device-mapper).
o put stat in on _rm_node
2001-11-21 17:08:37 +00:00
Joe Thornber
19df7116c6
o Migration of device-mapper from LVM_WORK to it's own (public) repository.
...
Please use this one from now on.
2001-11-21 12:47:42 +00:00