Alasdair Kergon
38862fcd3f
Add regex functions to library.
2007-04-27 18:40:23 +00:00
Alasdair Kergon
af998ff6c2
Avoid trailing separator in reports when there are hidden sort fields.
2007-04-27 15:22:27 +00:00
Alasdair Kergon
d59b2474e1
Fix segfault in 'dmsetup status' without --showkeys against crypt target. [nec]
2007-04-27 15:12:26 +00:00
Alasdair Kergon
8d2b0f24d3
Deal with some more compiler warnings. Hope this doesn't break anything...
2007-04-27 14:52:41 +00:00
Petr Rockai
727f266227
Fix some memory leaks in dmeventd.
2007-04-23 15:06:03 +00:00
Alasdair Kergon
7b74504f40
Introduce _add_field() and _is_same_field() to libdm-report.c.
2007-04-19 20:24:00 +00:00
Milan Broz
0329281b49
Fix libdevmapper-event memory leaks
2007-04-19 19:10:19 +00:00
Alasdair Kergon
c2784df48f
Remove unnecessary memset() return value checks. [Jim Meyering]
2007-03-16 14:36:14 +00:00
Alasdair Kergon
012869d6d2
Fix a few leaks in reporting error paths.
2007-02-14 15:12:16 +00:00
Alasdair Kergon
2f2c993235
post-release
2007-02-13 16:16:15 +00:00
Alasdair Kergon
187c689f1c
pre-release
2007-02-13 16:12:24 +00:00
Alasdair Kergon
112d09deb1
Improve dmeventd messaging protocol: drain pipe and tag messages.
2007-02-02 17:08:51 +00:00
Alasdair Kergon
3a7ec38f5a
post-release
2007-01-29 20:25:19 +00:00
Alasdair Kergon
096470d41a
pre-release
2007-01-29 19:57:24 +00:00
Alasdair Kergon
34c710712d
Add recent reporting options to dmsetup man page.
...
Revise some report fields names.
2007-01-29 19:35:24 +00:00
Alasdair Kergon
e3f6460b0d
Add dmsetup 'help' command and update usage text.
2007-01-29 18:18:41 +00:00
Alasdair Kergon
95b424702a
reorder report field definitions
2007-01-29 17:45:32 +00:00
Alasdair Kergon
9f069f7bef
Use fixed-size fields in report interface.
2007-01-29 17:23:54 +00:00
Alasdair Kergon
67fa4fd49e
post-release
2007-01-25 23:40:33 +00:00
Alasdair Kergon
667eb7758d
pre-release
2007-01-25 23:36:59 +00:00
Alasdair Kergon
232da7ecc7
Add some missing close() and fclose() return value checks.
2007-01-25 14:16:20 +00:00
Alasdair Kergon
d336842067
Migrate dmsetup column-based output over to new libdevmapper report framework.
2007-01-24 18:09:07 +00:00
Alasdair Kergon
85feafd996
Add descriptions to reporting field definitions.
2007-01-23 19:18:52 +00:00
Alasdair Kergon
d28dfb5720
add a dso-private variable to dmeventd interface
...
more inline docn
2007-01-23 17:38:39 +00:00
Alasdair Kergon
4dcaa2300c
Add dm_event_handler_[gs]et_timeout functions.
...
Streamline dm_report_field_* interface.
2007-01-22 15:03:57 +00:00
Alasdair Kergon
fcdf2e09a2
Add cmdline debug & version options to dmeventd.
...
Fix oom_adj handling.
2007-01-19 17:22:17 +00:00
Alasdair Kergon
866a1a0836
Add DM_LIB_VERSION definition to configure.h.
2007-01-19 15:53:01 +00:00
Alasdair Kergon
09e206d393
Suppress 'Unrecognised field' error if report field is 'help'.
2007-01-18 22:15:04 +00:00
Alasdair Kergon
03c6979264
Some internal renaming.
...
Add --separator and --sort to dmsetup (unused as yet).
Make alignment flag optional when specifying report fields.
2007-01-18 17:47:58 +00:00
Alasdair Kergon
07473c2be3
post-release
2007-01-17 17:56:15 +00:00
Alasdair Kergon
c3afa8dff4
pre-release
2007-01-17 17:51:51 +00:00
Alasdair Kergon
61997bb9bb
Add basic reporting functions to libdevmapper.
2007-01-16 18:04:15 +00:00
Alasdair Kergon
528329f199
Fix a malloc error path in dmsetup message.
2007-01-15 22:05:50 +00:00
Alasdair Kergon
931d24a4b1
More libdevmapper-event interface changes and fixes.
...
Rename dm_saprintf() to dm_asprintf().
2007-01-15 18:21:01 +00:00
Alasdair Kergon
080f3fa1e0
Report error if NULL pointer supplied to dm_strdup_aux().
2007-01-15 14:39:12 +00:00
Alasdair Kergon
c8ee38201d
Reinstate dm_event_get_registered_device
2007-01-12 20:22:11 +00:00
Alasdair Kergon
99a4014f06
post-release
2007-01-11 23:19:08 +00:00
Alasdair Kergon
96710ad8dd
pre-release
2007-01-11 22:49:43 +00:00
Alasdair Kergon
3165248642
Lots of dmeventd-related changes.
2007-01-11 21:54:53 +00:00
Alasdair Kergon
4594807a24
Use CFLAGS when linking so mixed sparc builds can supply -m64.
2007-01-11 16:23:22 +00:00
Alasdair Kergon
b9ffd32cd3
Add dm_tree_use_no_flush_suspend().
2007-01-09 19:44:07 +00:00
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
0c8569edea
Fix dmeventd mirror to cope if monitored device disappears.
2006-12-20 14:35:02 +00:00
Alasdair Kergon
9a81f9fe3f
post-release
2006-11-28 22:51:01 +00:00
Alasdair Kergon
794aa5063c
pre-release
2006-11-28 22:49:58 +00:00
Alasdair Kergon
3488c9b338
Update dmsetup man page (setgeometry & message)
2006-11-23 20:34:16 +00:00
Alasdair Kergon
981bf64fda
getline debug free
2006-10-19 16:50:05 +00:00
Alasdair Kergon
475be6ab45
Suppress encryption key in 'dmsetup table' output unless --showkeys supplied.
2006-10-19 15:34:50 +00:00
Alasdair Kergon
a8e13f0505
post-release.
...
Note that I've dropped the 2.4 kernel files from the release tarballs now.
2006-10-13 19:01:30 +00:00
Alasdair Kergon
905bdb2455
pre-release
2006-10-13 18:43:53 +00:00
Alasdair Kergon
b700541f3b
Avoid deptree attempting to suspend a device that's already suspended.
2006-10-13 14:03:35 +00:00
Alasdair Kergon
89a4e806e9
post-release
2006-10-12 18:20:45 +00:00
Alasdair Kergon
4c69dc9551
.
2006-10-12 17:42:40 +00:00
Alasdair Kergon
b504894ad4
missing mesg
2006-10-12 17:41:21 +00:00
Alasdair Kergon
988651541d
pre-release
2006-10-12 17:37:42 +00:00
Alasdair Kergon
f916f0a7b7
Add suspend noflush support.
...
Add basic dmsetup loop support.
2006-10-12 15:42:25 +00:00
Alasdair Kergon
d57e608ac4
Test. Future commit messages should now also go to the dm-devel list
...
(450 subscribers) for discussion as well as the read-only dm-cvs list
(just 15 subscribers).
2006-10-03 21:51:28 +00:00
Alasdair Kergon
3ccf241d54
post-release
2006-09-19 17:50:58 +00:00
Alasdair Kergon
c27dca1a1b
pre-release
2006-09-19 17:43:03 +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
d6a93541b6
reorder bounds check code
2006-08-18 21:38:58 +00:00
Alasdair Kergon
89529aa077
post-release
2006-08-15 17:43:10 +00:00
Alasdair Kergon
61160049ea
pre-release
2006-08-15 17:38:38 +00:00
Alasdair Kergon
8df67fbf36
Add --table argument to dmsetup for a one-line table.
...
Abort if errors are found during cmdline option processing.
2006-08-10 14:11:03 +00:00
Alasdair Kergon
433b160fad
Add lockfs indicator to debug output.
2006-08-08 21:22:31 +00:00
Alasdair Kergon
7a21367d97
post-release
2006-07-17 14:39:54 +00:00
Alasdair Kergon
cecdabd9c4
pre-release
2006-07-17 14:32:00 +00:00
Alasdair Kergon
874255ff5f
test
2006-07-05 21:07:35 +00:00
Alasdair Kergon
bd72209b93
test
2006-07-05 21:03:15 +00:00
Alasdair Kergon
332a8007be
Append full patch to checkin emails.
2006-07-05 21:01:06 +00:00
Alasdair Kergon
813f844bdc
Avoid duplicate dmeventd subdir with 'make distclean'.
2006-07-05 17:29:12 +00:00
Alasdair Kergon
1ea19b10bd
Add --force to dmsetup remove* to load error target. [Untested.]
...
Update dmsetup man page.
2006-06-18 11:35:04 +00:00
Alasdair Kergon
ad65c5f135
dmsetup remove_all also performs mknodes.
2006-06-17 16:12:41 +00:00
Alasdair Kergon
def6f767c3
Don't suppress identical table reloads if permission changes.
2006-06-14 22:00:03 +00:00
Alasdair Kergon
311d6d811b
Fix corelog segment line.
...
Suppress some compiler warnings.
2006-05-16 16:20:29 +00:00
Alasdair Kergon
476d09d072
post-release
2006-05-12 20:32:39 +00:00
Alasdair Kergon
2bfdaded01
Pre-release.
2006-05-11 20:24:07 +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
2a99b5b816
Avoid a dmeventd compiler warning.
2006-05-11 19:08:02 +00:00
Alasdair Kergon
a54b98e5ef
post-release
2006-05-10 20:46:28 +00:00
Alasdair Kergon
f6e0780246
pre-release
2006-05-10 20:14:15 +00:00
Alasdair Kergon
6657d5b66b
Move DEFS into configure.h.
...
Remove dmsetup line buffer limitation.
2006-05-10 19:38:25 +00:00
Alasdair Kergon
7dc850db3e
coverity fixes
2006-05-10 16:23:41 +00:00
Alasdair Kergon
c1d0a12121
Increase dmsetup line buffer to 4k.
2006-04-19 20:43:30 +00:00
Alasdair Kergon
a0e9de70a7
post-release
2006-04-19 17:21:39 +00:00
Alasdair Kergon
a669fcc59b
update version
2006-04-19 16:41:03 +00:00
Alasdair Kergon
d81e3d0bad
configure/makefile tidying + pkg-config support.
2006-04-19 15:23:10 +00:00
Alasdair Kergon
3ab3766f62
post-release
2006-04-14 21:39:32 +00:00
Alasdair Kergon
7fae84d715
pre-release
2006-04-14 21:11:38 +00:00
Alasdair Kergon
823a36448f
Bring dmsetup man page up-to-date.
2006-04-06 16:20:40 +00:00
Alasdair Kergon
99048d18b9
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
73f378f226
If _create_and_load_v4 fails part way through, revert the creation.
2006-03-30 15:15:47 +00:00
Alasdair Kergon
9ab7701215
dmeventd thread/fifo fixes.
2006-03-09 21:33:59 +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
435c852fb8
post-release
2006-02-08 23:24:02 +00:00
Alasdair Kergon
b5f9086099
release
2006-02-07 16:33:48 +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