Alasdair Kergon
4049c1e480
Backwards compatibility fix for version1 suspend/resume.
2003-07-05 23:20:43 +00:00
Alasdair Kergon
8449314da2
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
e720464330
Support for v4 interface
2003-07-01 21:20:58 +00:00
Alasdair Kergon
475138bceb
list_next
2003-05-06 12:01:13 +00:00
Alasdair Kergon
9e8a996222
Up interface to major version number 4.
2003-04-30 13:48:53 +00:00
Alasdair Kergon
0126b0b3ed
Up interface to major version number 4.
2003-04-29 22:52:11 +00:00
Alasdair Kergon
e33f88e28d
Event number support.
2003-04-29 11:34:23 +00:00
Alasdair Kergon
37336e41be
Revert to data_start
2003-04-28 11:55:58 +00:00
Alasdair Kergon
0785d1c390
DM_EXISTS_FLAG replaced by ENXIO
2003-04-24 16:08:18 +00:00
Alasdair Kergon
85d2c49d14
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
373058a32a
Improve build robustness.
2003-04-15 13:24:42 +00:00
Alasdair Kergon
26493424ae
alignment fixes
2003-04-08 21:20:31 +00:00
Alasdair Kergon
2dd1b9f97d
Allow device major to be set too.
2003-04-02 19:03:00 +00:00
Alasdair Kergon
7e46192f67
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
e8c4bf56fe
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
7d9770b9a2
Fix table output bug in last commit.
2003-02-20 13:30:03 +00:00
Alasdair Kergon
1829eeb171
merge back accidentally overwritten r1.2 change
2003-01-25 13:34:35 +00:00
Alasdair Kergon
c7488e3c4a
Prepare for ioctl version number change.
2003-01-21 21:27:36 +00:00
Alasdair Kergon
4f43f18f0a
Allow optional verbose logging
2003-01-21 21:25:11 +00:00
Alasdair Kergon
5b7f197397
Add --enable-debug --disable-compat
2003-01-21 21:22:55 +00:00
Alasdair Kergon
dd2157534b
Default stripesize 64k & config file setting for it;
...
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-) (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug
2002-12-19 23:25:55 +00:00
Alasdair Kergon
38a90e7669
New column-based reporting tools: lvs, pvs & vgs.
2002-12-12 20:55:49 +00:00
Alasdair Kergon
04f98de9ee
Keep certain versions of ld happy.
2002-12-05 22:28:18 +00:00
Alasdair Kergon
e2adc28cff
Only functions listed in libdevmapper.h should get exported.
2002-11-14 19:26:28 +00:00
Alasdair Kergon
0fef6a6ecc
Fix includes after DM_DIR definition move.
2002-11-14 14:44:42 +00:00
Alasdair Kergon
95bd5605a8
Improve missing-kernel-driver error message.
2002-11-01 16:16:42 +00:00
Alasdair Kergon
51da710f5a
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
569d69b3d2
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
12884008fa
Import snapshot status & persistence + indent etc.
2002-05-10 15:25:38 +00:00
Patrick Caulfield
4144520e5c
Add features to get table/status & wait for next event.
2002-05-03 11:55:58 +00:00
Alasdair Kergon
49734114b3
Commit snapshot-related changes preparing for the next beta release.
2002-04-23 21:47:50 +00:00
Patrick Caulfield
7f9e2c1db8
More memory leak plugging.
2002-04-15 13:24:14 +00:00
Patrick Caulfield
ec43efbb20
Rename device node during a DM_RENAME command.
2002-04-11 12:45:18 +00:00
Alasdair Kergon
4f47e268cc
Improve log messages.
2002-03-20 14:34:15 +00:00
Alasdair Kergon
f2565aee03
Support device queries by uuid as well as by name. (Used by lvrename.)
2002-03-18 23:39:42 +00:00
Alasdair Kergon
5e7d4d9d15
distclean also to remove libdm-common.h
2002-03-14 16:56:02 +00:00
Alasdair Kergon
3ac7ce605a
Suppress verbose/debug messages from libdevmapper.
2002-03-14 13:39:33 +00:00
Alasdair Kergon
c80722aefe
A missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )
2002-03-13 23:19:20 +00:00
Alasdair Kergon
a84fa69f28
dmsetup display uuid
2002-03-13 16:19:17 +00:00
Patrick Caulfield
c2e3b0e448
Fix _align so it works on 64-bit machines.
2002-03-12 15:27:51 +00:00
Alasdair Kergon
f61a38e85a
Let dmsetup store the uuid on device creation.
2002-03-11 22:44:36 +00:00
Alasdair Kergon
b0277370cf
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
a9532b189c
Kernel functionality that returns device dependencies (ejt).
2002-03-06 19:42:23 +00:00
Joe Thornber
4e23a2b9b8
o Add support for getting dependencies for a device.
...
o dmsetup dependencies <dev>
2002-03-06 14:38:25 +00:00
Alasdair Kergon
aaed82738a
Running out of filehandles? Close /dev/device-mapper/control then.
2002-02-26 18:30:02 +00:00
Alasdair Kergon
3738f6e8ae
Failure signalled by -1 not 0; MAX_DEVICES 256 (was 64); change a '>' to '>='.
2002-02-01 17:39:20 +00:00
Alasdair Kergon
5a933d4bee
Add list_iterate that's safe with deletions.
2002-01-29 16:28:52 +00:00
Alasdair Kergon
8ff2a4b026
Use same log levels as LVM2.
2002-01-18 19:37:26 +00:00
Alasdair Kergon
ed6a860fad
Add function that returns the library version.
2002-01-17 14:13:25 +00:00
Alasdair Kergon
423e579292
Add another level of symlink to library name (like LVM1) so people who find
...
themselves running multiple incompatible kernel versions will just need
to swap symlinks at boot.
2002-01-17 13:37:09 +00:00