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
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
b6b0c621f6
Fix hash function to avoid using a negative array offset.
2006-01-09 20:35:24 +00:00
Alasdair Kergon
e7ab6006c5
Don't inline _find in hash.c and tidy signed/unsigned etc.
2006-01-04 16:07:27 +00:00
Alasdair Kergon
7a3fb6b20a
Fix dmsetup version driver version
2006-01-03 20:53:57 +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
3c588200fe
Fix dmeventd build.
2005-12-05 11:16:48 +00:00
Alasdair Kergon
c6b966c8ee
post-release
2005-12-02 17:24:06 +00:00
Alasdair Kergon
bbdff85a9c
1.02.02
2005-12-02 15:44:18 +00:00
Alasdair Kergon
105c631eab
dmeventd
2005-12-02 15:41:14 +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
842392c23c
Add some FIXMEs to libdm-event.
2005-11-30 18:35:03 +00:00
Alasdair Kergon
cbe19a568c
post-release
2005-11-23 18:44:59 +00:00
Alasdair Kergon
ef8bc786a7
1.02.01
2005-11-23 18:36:33 +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
87f98002b5
Additional LVM- prefix matching for transitional period.
2005-11-12 22:46:48 +00:00
Alasdair Kergon
0c32d9dbef
post-release
2005-11-10 16:06:29 +00:00
Alasdair Kergon
da5edd8ebe
pre-release
2005-11-10 15:27:19 +00:00
Alasdair Kergon
b4f1578fc2
rename deptree
2005-11-09 14:10:50 +00:00
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
3aeb569036
Export dm_set_selinux_context.
2005-10-25 17:30:00 +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
b277f1e95d
post-release
2005-09-26 20:52:00 +00:00
Alasdair Kergon
d7c1c43d44
1.01.05
2005-09-26 20:44:12 +00:00
Alasdair Kergon
4afac84c54
Resync list.h with LVM2.
2005-09-22 12:06:34 +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
69cfb9203b
Fix termination of getopt_long() option array.
2005-08-18 19:40:19 +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
d07af06363
post-release
2005-08-02 21:46:49 +00:00
Alasdair Kergon
91eb42bed6
update vsn
2005-08-02 18:00:32 +00:00
Alasdair Kergon
a7c3ee3805
Fix dmsetup ls -j and status --target with empty table.
2005-07-29 16:11:23 +00:00
Alasdair Kergon
c8c07bbedc
Use matchpathcon mode parameter
2005-06-13 13:11:48 +00:00
Alasdair Kergon
42401a6537
update version
2005-06-10 22:00:44 +00:00
Alasdair Kergon
37e8356be3
fix configure script to reenable selinux
2005-06-10 21:57:49 +00:00
Alasdair Kergon
d910e40de6
1.01.02
2005-05-17 15:50:25 +00:00
Alasdair Kergon
b7c70050d6
Add dmsetup ls --exec.
2005-05-16 20:46:46 +00:00
Alasdair Kergon
2272500bc8
Add --target to dmsetup ls.
2005-05-16 16:04:34 +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
67f109504e
Add --target <target_type> filter to dmsetup table/status.
...
Fix dmsetup getopt_long usage.
2005-05-16 14:53:23 +00:00
Alasdair Kergon
9629f7a992
post-release
2005-03-29 18:10:57 +00:00
Alasdair Kergon
e015b627c6
1.01.01
2005-03-29 14:47:39 +00:00
Alasdair Kergon
969e08da0f
Drop-in devmap_name replacement.
2005-03-27 11:37:46 +00:00
Alasdair Kergon
3d2aecf0ae
Add option to compile without ioctl for testing.
2005-01-27 16:16:54 +00:00
Alasdair Kergon
4608bcdccf
Fix DM_LIB_VERSION sed
2005-01-27 15:53:28 +00:00
Alasdair Kergon
c080b46039
post-1.01.00
2005-01-17 20:12:12 +00:00
Alasdair Kergon
e5bb96fe3c
1.01.00
2005-01-17 20:00:28 +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
72fdf10ac6
post-1.00.21
2005-01-07 17:10:16 +00:00
Alasdair Kergon
4f6c33c818
1.00.21
2005-01-07 15:53:37 +00:00
Alasdair Kergon
eaf48efc9c
Fix /proc/devices parsing.
2005-01-07 15:39:53 +00:00
Alasdair Kergon
99dffafbb2
post-1.00.20
2005-01-06 18:41:38 +00:00
Alasdair Kergon
7b1f32dc5a
1.00.20
2005-01-06 18:30:17 +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
76bcada934
update
2004-10-15 17:31:37 +00:00
Alasdair Kergon
45ae32da38
Add --noheadings option to dmsetup -c for colon-separated output.
2004-10-12 16:42:40 +00:00
Alasdair Kergon
3f096a6c45
Support device referencing by uuid or major/minor.
2004-10-01 19:11:37 +00:00
Alasdair Kergon
2d7f9f0b39
printf->fprintf
2004-10-01 19:07:41 +00:00
Alasdair Kergon
3b55d30002
update version
2004-07-03 18:29:48 +00:00
Alasdair Kergon
3bbe373576
misc autoconf fixes
2004-07-03 18:17:32 +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
32c5ad86ab
Add dmsetup -C for column-based output.
2004-06-16 16:44:12 +00:00
Alasdair Kergon
62cec9b225
Support new target message ioctl.
2004-06-08 20:34:40 +00:00
Alasdair Kergon
93f0ca8650
fix selinux library linking
2004-04-19 14:01:23 +00:00
Alasdair Kergon
a38df97fb8
config option to avoid using install -o -g
2004-04-19 13:10:06 +00:00
Alasdair Kergon
121c5c060b
Ignore error setting selinux file context if fs doesn't support it.
2004-04-16 12:24:46 +00:00
Alasdair Kergon
ae69d47087
Fix status overflow check in kernel patches.
2004-04-07 12:39:59 +00:00
Alasdair Kergon
f4a0e78d85
fix static selinux build
2004-04-06 20:32:02 +00:00
Alasdair Kergon
4dfd146aa4
1.00.13
2004-04-06 18:57:13 +00:00
Alasdair Kergon
4ea7e4b8cc
Fix dmsetup.static install.
2004-04-06 12:06:55 +00:00
Alasdair Kergon
0172d4f725
Version 1.00.11
2004-04-05 20:51:42 +00:00
Alasdair Kergon
b31a37d7d3
update for 1.00.10
2004-04-02 16:47:43 +00:00
Alasdair Kergon
a03065dc17
update text for release
2004-03-31 20:09:56 +00:00
Alasdair Kergon
6105d3a821
Update changelog.
2004-03-30 19:12:42 +00:00
Alasdair Kergon
a5777ba3f7
Detailed changelog.
2004-02-27 22:36:13 +00:00