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
26e7f2e0c4
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
c46867e1d6
Fix table output bug in last commit.
2003-02-20 13:30:03 +00:00
Alasdair Kergon
98f29da3ec
merge back accidentally overwritten r1.2 change
2003-01-25 13:34:35 +00:00
Alasdair Kergon
661c2f2dca
Prepare for ioctl version number change.
2003-01-21 21:27:36 +00:00
Alasdair Kergon
39662e362a
Allow optional verbose logging
2003-01-21 21:25:11 +00:00
Alasdair Kergon
487662054d
Add --enable-debug --disable-compat
2003-01-21 21:22:55 +00:00
Alasdair Kergon
8ef2b021ed
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
4c64ed4ced
New column-based reporting tools: lvs, pvs & vgs.
2002-12-12 20:55:49 +00:00
Alasdair Kergon
3982f8136b
Keep certain versions of ld happy.
2002-12-05 22:28:18 +00:00
Alasdair Kergon
34917a5373
Only functions listed in libdevmapper.h should get exported.
2002-11-14 19:26:28 +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
Patrick Caulfield
70d7918634
More memory leak plugging.
2002-04-15 13:24:14 +00:00
Patrick Caulfield
63def4e716
Rename device node during a DM_RENAME command.
2002-04-11 12:45:18 +00:00
Alasdair Kergon
158510ad42
Improve log messages.
2002-03-20 14:34:15 +00:00
Alasdair Kergon
902098d615
Support device queries by uuid as well as by name. (Used by lvrename.)
2002-03-18 23:39:42 +00:00
Alasdair Kergon
4cc8088251
distclean also to remove libdm-common.h
2002-03-14 16:56:02 +00:00
Alasdair Kergon
c22c93f0b6
Suppress verbose/debug messages from libdevmapper.
2002-03-14 13:39:33 +00:00
Alasdair Kergon
6eb746e187
A missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )
2002-03-13 23:19:20 +00:00
Alasdair Kergon
b2de0b7d44
dmsetup display uuid
2002-03-13 16:19:17 +00:00
Patrick Caulfield
7c8bd3fcd0
Fix _align so it works on 64-bit machines.
2002-03-12 15:27:51 +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
b8583f6f9f
Running out of filehandles? Close /dev/device-mapper/control then.
2002-02-26 18:30:02 +00:00
Alasdair Kergon
dcde8bf026
Failure signalled by -1 not 0; MAX_DEVICES 256 (was 64); change a '>' to '>='.
2002-02-01 17:39:20 +00:00
Alasdair Kergon
2f069a65d0
Add list_iterate that's safe with deletions.
2002-01-29 16:28:52 +00:00
Alasdair Kergon
2cf9604929
Use same log levels as LVM2.
2002-01-18 19:37:26 +00:00
Alasdair Kergon
444b7d2360
Add function that returns the library version.
2002-01-17 14:13:25 +00:00
Alasdair Kergon
ad837a06e5
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
Alasdair Kergon
00ee56e232
Use additional version numbers.
...
Kernel driver has a version number (stored in kernel/VERSION).
The first two components of this (0.94) give the version number of the
ioctl interface. This number must be changed whenever a change is
made to the ioctl interface that breaks backwards compatibility.
The library has a version number (stored in VERSION) which is
used for linking.
The first and/or second component of this must be changed whenever
a change is made to the library API that breaks backwards
compatibility.
2002-01-17 13:19:55 +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
c9dbb9efe7
Some ioctl interface changes. (Do we want these?)
...
- use status bits (so we can add flags without changing the struct size)
- use dev_t
2002-01-14 23:07:32 +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
3daa9f6e53
tidying
2002-01-07 22:01:50 +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
f1568304e0
o Allow the definition of read-only devices (ioctl interface only) (Joe)
...
o Add version number to ioctl structure with error on kernel/library mismatch
2002-01-02 19:01:09 +00:00
Alasdair Kergon
48b512b964
Tidy makefiles - $DESTDIR & shared library version (like LVM1)
2002-01-02 13:40:49 +00:00
Alasdair Kergon
df520f1265
o Include dmsetup man page in build
...
o Allow pathname in dmsetup device arg
o Generated patches for 0.90.02
2001-12-14 13:30:04 +00:00
Alasdair Kergon
b6af4a0aab
Fixes for library compilation.
2001-12-07 21:15:33 +00:00
Alasdair Kergon
638754e559
Various fixes & restructure to extract common code.
2001-12-05 16:41:52 +00:00