1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
Commit Graph

73 Commits

Author SHA1 Message Date
Alasdair Kergon
19f792df43 Also suppress error if device doesn't exist with DM_DEVICE_STATUS. 2005-10-26 17:51:10 +00:00
Alasdair Kergon
bc70fb17c0 zero suppress 2005-10-20 20:38:18 +00:00
Alasdair Kergon
3618f6eba7 fix dev no printf 2005-10-20 20:29:58 +00:00
Alasdair Kergon
a38bf76bab Tidy some log mesgs. 2005-10-18 13:07:41 +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
59a2bf62f0 Remember increased buffer size and use for subsequent calls. 2005-09-20 18:04:28 +00:00
Alasdair Kergon
4e16b1e7ad On 'buffer full' condition, double buffer size and repeat ioctl. [Untested] 2005-09-19 14:29:17 +00:00
Alasdair Kergon
e817a0b35c Report 'buffer full' condition with v4 ioctl as well as with v1. 2005-08-08 18:40:17 +00:00
Alasdair Kergon
c8c07bbedc Use matchpathcon mode parameter 2005-06-13 13:11:48 +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
3d2aecf0ae Add option to compile without ioctl for testing. 2005-01-27 16:16:54 +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
eaf48efc9c Fix /proc/devices parsing. 2005-01-07 15:39:53 +00:00
Alasdair Kergon
f34c169a1b Attempt to fix /dev/mapper/control transparently if it's wrong. 2005-01-06 18:22:44 +00:00
Alasdair Kergon
6b70629cc9 Configuration-time option for setting uid/gid/mode for /dev/mapper nodes. 2005-01-05 22:00:40 +00:00
Alasdair Kergon
3f096a6c45 Support device referencing by uuid or major/minor. 2004-10-01 19:11:37 +00:00
Alasdair Kergon
8bad033938 Fix device number handling for 2.6 kernels. 2004-07-01 15:14:29 +00:00
Alasdair Kergon
3360958232 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
62cec9b225 Support new target message ioctl. 2004-06-08 20:34:40 +00:00
Alasdair Kergon
ef6c23b600 Build process fixes/tidy-ups. 2004-04-02 15:18:38 +00:00
Alasdair Kergon
fa2b1b3472 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
8b67f40de2 Update copyright messages. 2004-03-30 19:08:57 +00:00
Alasdair Kergon
22eb54036f Move full mknodes functionality from dmsetup into libdevmapper. 2004-03-30 14:31:58 +00:00
Alasdair Kergon
ec36089afd Extract log.h and tweak funcs to be like lvm2 ones. 2004-02-24 18:50:09 +00:00
Alasdair Kergon
cf37d5c7ab Userspace support for LIST_VERSIONS ioctl. 2004-01-23 14:37:47 +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
b65acfc6de 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
b8f6e20aa5 Backwards compatibility fix for version1 suspend/resume. 2003-07-05 23:20:43 +00:00
Alasdair Kergon
d71bfabe39 Support for v4 interface 2003-07-01 21:20:58 +00:00
Alasdair Kergon
5507448b95 Up interface to major version number 4. 2003-04-30 13:48:53 +00:00
Alasdair Kergon
027be073b3 Up interface to major version number 4. 2003-04-29 22:52:11 +00:00
Alasdair Kergon
8563ab0304 Event number support. 2003-04-29 11:34:23 +00:00
Alasdair Kergon
5ac5a99961 Revert to data_start 2003-04-28 11:55:58 +00:00
Alasdair Kergon
356409734e DM_EXISTS_FLAG replaced by ENXIO 2003-04-24 16:08:18 +00:00
Alasdair Kergon
41d02bc385 Some ioctl code tidying: removing duplicate internal buffers; making bounds
checks clearer (incl. variable renaming); using a flag to indicate when
output data doesn't fit into supplied buffer instead of returning an error etc.
2003-04-22 21:22:04 +00:00
Alasdair Kergon
be5027f695 alignment fixes 2003-04-08 21:20:31 +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
c46867e1d6 Fix table output bug in last commit. 2003-02-20 13:30:03 +00:00
Alasdair Kergon
661c2f2dca Prepare for ioctl version number change. 2003-01-21 21:27:36 +00:00
Alasdair Kergon
40c44db720 Fix includes after DM_DIR definition move. 2002-11-14 14:44:42 +00:00
Alasdair Kergon
ca94915779 Improve missing-kernel-driver error message. 2002-11-01 16:16:42 +00:00
Alasdair Kergon
18f3ec8297 o Long-awaited ioctl interface clean-up. *** Not backwardly compatible ***
o Various other kernel side tidy-ups.
o Version number changes so we have the option of adding new ioctl commands
  in future without affecting the use of existing ones should you later
  revert to an older kernel but not revert the userspace library/tools.
o Better separation of kernel/userspace elements in the build process to
  prepare for independent distribution of the kernel driver.
2002-06-19 13:07:05 +00:00
Joe Thornber
2f92106107 o Knock the version check out of the makefile, Alasdair will no doubt put it back :)
o  Change to new ioctl names.
2002-06-17 15:50:17 +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
671b6aa602 Commit snapshot-related changes preparing for the next beta release. 2002-04-23 21:47:50 +00:00