Alasdair Kergon
3b34fcf59f
Add libdm subdir to begin merging the device-mapper tree.
2008-10-30 15:31:33 +00:00
Alasdair Kergon
bc633e03aa
Fix last checkin - tested wrong dnode.
2008-09-18 22:55:33 +00:00
Alasdair Kergon
026cc120e7
Only resume devices in dm_tree_preload_children if size changes.
2008-09-18 18:34:53 +00:00
Alasdair Kergon
874f42ad6c
Extend deptree buffers so the largest possible device numbers fit.
2008-09-02 12:16:07 +00:00
Alasdair Kergon
a8c5758222
Underline longer report help text headings.
2008-06-25 19:52:52 +00:00
Alasdair Kergon
b097aa787b
pre-commit
2008-06-25 14:24:17 +00:00
Alasdair Kergon
723be0fe69
Align struct memblock in dbg_malloc for sparc.
2008-06-25 14:10:33 +00:00
Alasdair Kergon
f0597a03de
Cope with missing field values.
2008-06-25 00:10:36 +00:00
Alasdair Kergon
65f0656f54
Add --rows to dmsetup.
2008-06-24 22:53:48 +00:00
Alasdair Kergon
366e89bda0
dmsetup --unquoted
2008-06-24 20:16:47 +00:00
Alasdair Kergon
fe74f013e3
Fix inverted no_flush debug message. (mpatocka)
2008-06-10 11:19:19 +00:00
Alasdair Kergon
6da1ca0cb9
rename some config vars
2008-06-06 20:44:35 +00:00
Alasdair Kergon
f148280c99
switch to single quotes rather than double for nameprefixes
2008-06-06 19:07:47 +00:00
Alasdair Kergon
6196ac7995
Initialise params buffer to empty string in _emit_segment.
2008-06-05 19:10:35 +00:00
Alasdair Kergon
0c6271dabc
Skip add_dev_node when ioctls disabled.
...
Make dm_hash_iter safe against deletion.
Accept a NULL pointer to dm_free silently.
2008-05-21 16:14:46 +00:00
Alasdair Kergon
a636299680
Add field name prefix option to reporting functions.
2008-04-20 00:11:08 +00:00
Alasdair Kergon
08e5bd5b72
Calculate string size within dm_pool_grow_object.
2008-04-19 15:50:18 +00:00
Alasdair Kergon
456e42257c
make list_move consistent with other list fns
2008-04-10 19:14:27 +00:00
Dave Wysochanski
74adbb77b7
Add list_move() support function for list manipulation.
2008-03-26 16:20:54 +00:00
Alasdair Kergon
05ed5c0d74
Use log_warn for reporting field help text instead of log_print.
2008-01-20 01:14:38 +00:00
Jonathan Earl Brassow
0336bc9de9
- The automatic log module loading patch proposed for the upstream kernel
...
works on '-'s, not '_'s. This is due to the preference to have log
module file names that do not mix '_'s and '-'s.
2008-01-15 22:48:11 +00:00
Alasdair Kergon
50827a5f69
more readahead node fixes/debug messages
2007-12-14 19:49:27 +00:00
Alasdair Kergon
2d6444c924
Fix deptree to pass new name to _resume_node after a rename.
2007-12-14 17:57:04 +00:00
Alasdair Kergon
1d2675d9aa
Add node operation stack debug messages.
2007-12-14 17:26:09 +00:00
Alasdair Kergon
ad98990a8e
Report error when empty device name passed to readahead functions.
2007-12-13 02:25:45 +00:00
Alasdair Kergon
fb806f61d4
Fix minimum readahead debug message.
2007-12-05 18:57:34 +00:00
Alasdair Kergon
a6afae2356
clarify when read_ahead may be set
2007-12-05 16:28:19 +00:00
Alasdair Kergon
0eea7070a7
work out device name to use for read ahead request
2007-12-05 16:24:41 +00:00
Alasdair Kergon
82bb0e8dda
fix ioctls to use long not int
...
update dm-ioctl.h after compat tidy-up
2007-12-05 14:11:26 +00:00
Alasdair Kergon
5a4c5b4155
fixes
2007-12-03 22:48:36 +00:00
Alasdair Kergon
7c082d2471
missing #include
2007-12-03 17:56:36 +00:00
Alasdair Kergon
f3cafcf983
fix
2007-11-30 16:44:42 +00:00
Alasdair Kergon
75073e4aa6
readahead support completed - untested
2007-11-30 16:42:26 +00:00
Alasdair Kergon
a3c23f650c
read_ahead node ops
2007-11-30 14:59:57 +00:00
Alasdair Kergon
49b2006824
add read_ahead functions to library and dmsetup --readahead
...
(Not live yet.)
2007-11-27 20:57:05 +00:00
Alasdair Kergon
ceec4455df
Add DM_READ_AHEAD_MINIMUM_FLAG
2007-11-12 20:47:18 +00:00
Alasdair Kergon
ccb85cc719
Define DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.
2007-11-09 16:52:36 +00:00
Jim Meyering
d4b1003a97
Allow $DM_DEV_DIR envvar to override default of "/dev".
...
* dmsetup/dmsetup.c (DEV_PATH): Remove definition.
(parse_loop_device_name): Add parameter: dev_dir.
Declare the "dev" parameter to be "const".
Use dev_dir, not DEV_PATH. Handle the case in which dev_dir
does not end in a "/".
(_get_abspath): Declare "path" parameter "const", to match.
(_process_losetup_switches): Add parameter: dev_dir.
Pass dev_dir to parse_loop_device_name.
(_process_switches): Add parameter: dev_dir.
Pass dev_dir to _process_losetup_switches.
(main): Set dev_dir from the DM_DEV_DIR envvar, else to "/dev".
Call dm_set_dev_dir.
* lib/libdm-common.c (dm_set_dev_dir): Rewrite to be careful
about boundary conditions, now that dev_dir may be tainted.
* man/dmsetup.8: Mention $DM_DEV_DIR.
Author: Jim Meyering <meyering@redhat.com>
2007-10-09 12:14:48 +00:00
Jim Meyering
38e54b626e
Arrange for "make clean" to remove the symlink, too.
...
* make.tmpl.in ($(VERSIONED_SHLIB)): Move rule to...
* lib/Makefile.in ($(VERSIONED_SHLIB)): ...here, removing the
$(interface)/ prefix.
Reported by Milan Broz.
Author: Jim Meyering <meyering@redhat.com>
2007-10-03 10:48:27 +00:00
Jim Meyering
c8c4dbb409
Create a symlink, e.g., libdevmapper.so.1.02, in the build dir,
...
alongside the .so file. This helps build dynamically linked LVM.
* lib/Makefile.in (VERSIONED_SHLIB): Define.
* make.tmpl.in (TARGETS): Append $(VERSIONED_SHLIB).
($(VERSIONED_SHLIB)): New rule.
Author: Jim Meyering <jim@meyering.net>
2007-09-18 13:02:58 +00:00
Alasdair Kergon
ebc26c7421
Remove obsolete dmfs code from tree and update INSTALL.
2007-08-21 18:41:58 +00:00
Alasdair Kergon
1ad58e1121
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
2007-08-21 16:26:07 +00:00
Alasdair Kergon
3f507a26fb
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
2007-08-20 20:55:30 +00:00
Jim Meyering
7454664997
Add "const" attributes where possible: first cut.
2007-08-07 09:06:05 +00:00
Alasdair Kergon
541ea4dc63
improve changelog
2007-08-06 13:09:46 +00:00
Jim Meyering
4d418dee0e
Export dm_create_dir (was create_dir) to help fix LVM2 link error
...
* lib/libdm-file.c (dm_create_dir): Rename from create_dir.
* lib/libdevmapper.h (dm_create_dir): Declare.
* lib/.exported_symbols: Add dm_create_dir.
* lib/ioctl/libdm-iface.c (_create_control): Update sole use.
Patch by Jun'ichi Nomura. Details in
http://www.redhat.com/archives/lvm-devel/2007-July/msg00040.html
2007-07-28 10:48:36 +00:00
Jim Meyering
06fe319347
Make the libdevmapper version of create_dir equivalent to the LVM2 one.
...
(_create_dir_recursive): Refrain from logging a mkdir failure due to EROFS.
Patch by Jun'ichi Nomura.
2007-07-28 10:27:34 +00:00
Jim Meyering
9dd7e3fb24
Introduce log_sys_* macros from LVM2.
...
Convert existing "<string>: <function> failed: <strerror>" type messages
to use this macro. Patch by Jun'ichi Nomura.
2007-07-28 10:23:02 +00:00
Jim Meyering
b14b97599d
dm_fclose: new function
...
* lib/libdevmapper.h: Declare it.
* lib/libdm-file.c (dm_fclose): Define it.
* lib/.exported_symbols: Add dm_fclose.
2007-07-24 14:15:45 +00:00
Petr Rockai
5ee976d276
Make warnings go to stderr. Adds log_warn macro for that purpose,
...
log_print continues to print to stdout.
2007-06-28 17:27:02 +00:00
Alasdair Kergon
a249de3b72
Standardise protective include file #defines.
2007-04-27 19:07:43 +00:00
Alasdair Kergon
b9f5a18a76
Add regex functions to library.
2007-04-27 18:40:23 +00:00
Alasdair Kergon
d7ba0e01a5
Avoid trailing separator in reports when there are hidden sort fields.
2007-04-27 15:22:27 +00:00
Alasdair Kergon
477ec611d5
Deal with some more compiler warnings. Hope this doesn't break anything...
2007-04-27 14:52:41 +00:00
Alasdair Kergon
369ab1e0b2
Introduce _add_field() and _is_same_field() to libdm-report.c.
2007-04-19 20:24:00 +00:00
Alasdair Kergon
b1b6c97f7c
Fix a few leaks in reporting error paths.
2007-02-14 15:12:16 +00:00
Alasdair Kergon
684eecba1d
Use fixed-size fields in report interface.
2007-01-29 17:23:54 +00:00
Alasdair Kergon
217f70952f
don't remove libdm-common.h any more
2007-01-25 15:45:10 +00:00
Alasdair Kergon
d851289d8a
Add some missing close() and fclose() return value checks.
2007-01-25 14:16:20 +00:00
Alasdair Kergon
910054657e
Adjust report field help description layout.
2007-01-24 16:41:33 +00:00
Alasdair Kergon
8357a11249
fix earlier checkin
2007-01-23 23:58:55 +00:00
Alasdair Kergon
9b021ba057
Add descriptions to reporting field definitions.
2007-01-23 19:18:52 +00:00
Alasdair Kergon
b1d32a03c7
add a dso-private variable to dmeventd interface
...
more inline docn
2007-01-23 17:38:39 +00:00
Alasdair Kergon
63e4217271
Add dm_event_handler_[gs]et_timeout functions.
...
Streamline dm_report_field_* interface.
2007-01-22 15:03:57 +00:00
Alasdair Kergon
19d102082d
Add DM_LIB_VERSION definition to configure.h.
2007-01-19 15:53:01 +00:00
Alasdair Kergon
82980149fa
Suppress 'Unrecognised field' error if report field is 'help'.
2007-01-18 22:15:04 +00:00
Alasdair Kergon
a19bb7b909
fix last checkin
2007-01-18 21:59:02 +00:00
Alasdair Kergon
26376ac1c9
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
392e1bc2e8
more little fixes
2007-01-16 21:13:07 +00:00
Alasdair Kergon
954bd9257b
Add basic reporting functions to libdevmapper.
2007-01-16 18:04:15 +00:00
Alasdair Kergon
3184ff75c4
More libdevmapper-event interface changes and fixes.
...
Rename dm_saprintf() to dm_asprintf().
2007-01-15 18:21:01 +00:00
Alasdair Kergon
43243f4d30
Report error if NULL pointer supplied to dm_strdup_aux().
2007-01-15 14:39:12 +00:00
Alasdair Kergon
d554b2bc94
Lots of dmeventd-related changes.
2007-01-11 21:54:53 +00:00
Alasdair Kergon
c1952bf257
Use CFLAGS when linking so mixed sparc builds can supply -m64.
2007-01-11 16:23:22 +00:00
Alasdair Kergon
7831665417
Add dm_tree_use_no_flush_suspend().
2007-01-09 19:44:07 +00:00
Alasdair Kergon
7c9920d982
fix last checkin
2007-01-08 15:35:08 +00:00
Alasdair Kergon
cbdccf0a9c
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
d5c9024335
Avoid deptree attempting to suspend a device that's already suspended.
2006-10-13 14:03:35 +00:00
Alasdair Kergon
1fd5f562d3
noflush code fixes: missing debug log; non-standard variable name
2006-10-12 17:29:05 +00:00
Alasdair Kergon
45abade7fc
Add suspend noflush support.
...
Add basic dmsetup loop support.
2006-10-12 15:42:25 +00:00
Alasdair Kergon
863484bb65
Reorder mm bounds_check code to reduce window for a dmeventd race. (dm_free_aux)
2006-09-19 17:30:04 +00:00
Alasdair Kergon
8d98b02ba2
Add dm_snprintf
2006-08-21 12:52:39 +00:00
Alasdair Kergon
a93fe79bc4
Add dm_split_words() and dm_split_lvm_name() to libdevmapper.
2006-08-21 12:07:03 +00:00
Alasdair Kergon
a945f1fde2
reorder bounds check code
2006-08-18 21:38:58 +00:00
Alasdair Kergon
54fb2ebbe0
Add lockfs indicator to debug output.
2006-08-08 21:22:31 +00:00
Alasdair Kergon
b4fb7af1df
Don't suppress identical table reloads if permission changes.
2006-06-14 22:00:03 +00:00
Alasdair Kergon
a564ca82be
Fix corelog segment line.
...
Suppress some compiler warnings.
2006-05-16 16:20:29 +00:00
Alasdair Kergon
d3f2f00c25
Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
2006-05-11 19:10:55 +00:00
Alasdair Kergon
b8d32a0d33
coverity fixes
2006-05-10 16:23:41 +00:00
Alasdair Kergon
8b4b6945f8
remove inlines
2006-04-19 18:12:33 +00:00
Alasdair Kergon
f95dbff71f
fix makefile
2006-04-19 17:32:05 +00:00
Alasdair Kergon
dcca7638e0
make pkgconfig installation step optional, and clean up generated files
2006-04-19 16:38:56 +00:00
Alasdair Kergon
70e45ad37b
Check for libsepol.
...
Add some cflow & scope support.
Separate out DEFS from CFLAGS.
Remove inlines and use unique function names.
2006-04-19 15:33:07 +00:00
Alasdair Kergon
db88210289
configure/makefile tidying + pkg-config support.
2006-04-19 15:23:10 +00:00
Alasdair Kergon
abed57cb53
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
c01a800a6b
If _create_and_load_v4 fails part way through, revert the creation.
2006-03-30 15:15:47 +00:00
Alasdair Kergon
42635c3938
Add file & line to dm_strdup_aux().
2006-02-23 19:11:51 +00:00
Alasdair Kergon
ed43dc842b
A setgeometry implementation. [untested]
2006-02-20 23:55:58 +00:00
Alasdair Kergon
382e808b8d
fix mirror log parm count
2006-02-08 14:14:13 +00:00
Alasdair Kergon
74dd29f843
add clustered log uuid
2006-02-06 20:18:10 +00:00
Alasdair Kergon
24dd9ab1a7
Change prefix for clustered log from "clustered " to "clustered_"
2006-02-06 19:32:18 +00:00
Alasdair Kergon
ed036598a9
Add exported functions to set uid, gid and mode. [Bastian Blank]
2006-02-03 14:23:22 +00:00
Alasdair Kergon
18218467f3
remove unnecessary 0 in format string
2006-02-02 17:23:04 +00:00
Alasdair Kergon
d031a374f9
Rename _log to dm_log and export.
...
Fix misc compile-time warnings.
2006-01-31 14:50:38 +00:00
Alasdair Kergon
55f69c98cb
Add dm_tree_skip_lockfs.
2006-01-30 23:36:04 +00:00
Alasdair Kergon
34a1f14a17
Fix dm_strdup debug definition.
2006-01-11 15:40:54 +00:00
Alasdair Kergon
efe1c8a070
Fix dm_strdup debug definition.
2006-01-10 22:19:41 +00:00
Alasdair Kergon
1575844344
Fix hash function to avoid using a negative array offset.
2006-01-09 20:35:24 +00:00
Alasdair Kergon
57442db759
Don't inline _find in hash.c and tidy signed/unsigned etc.
2006-01-04 16:07:27 +00:00
Alasdair Kergon
5fdb3e7cd6
Fix libdevmapper.h #endif
2006-01-04 16:05:44 +00:00
Alasdair Kergon
8825157fbb
Change dm_tree_node_add_mirror_target_log parm order
2005-12-19 21:03:17 +00:00
Alasdair Kergon
a82775f544
Add sync, nosync and block_on_error mirror log parameters.
...
Add hweight32.
2005-12-13 15:49:27 +00:00
Alasdair Kergon
ab931b177d
dmeventd updates
2005-12-02 15:39:16 +00:00
Alasdair Kergon
9aa3465513
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
05fa105855
Resume snapshot-origins last.
2005-11-22 20:00:35 +00:00
Alasdair Kergon
b049ab31eb
Suppress unnecessary resumes.
2005-11-22 19:31:20 +00:00
Alasdair Kergon
6db4dcff7a
Drop leading zeros from dm_format_dev.
...
Suppress attempt to reload identical table.
2005-11-22 18:43:12 +00:00
Alasdair Kergon
3eeaef00ec
Additional LVM- prefix matching for transitional period.
2005-11-12 22:46:48 +00:00
Alasdair Kergon
6315982752
more debug fixes
2005-11-11 16:16:37 +00:00
Alasdair Kergon
374a171e82
Fix selinux compile.
2005-11-10 18:31:17 +00:00
Alasdair Kergon
fc5d801f91
fix debug linking
2005-11-10 16:33:04 +00:00
Alasdair Kergon
e5895500a2
remove a debugging line
2005-11-10 15:17:54 +00:00
Alasdair Kergon
e7a360dd6f
revert - alternative pvmove fix, disabling preloading completely for now
2005-11-09 23:57:40 +00:00
Alasdair Kergon
fefa7fe262
more mirror fixing
2005-11-09 18:13:10 +00:00
Alasdair Kergon
26f01a29d1
some fixes for mirrors
2005-11-09 17:32:31 +00:00
Alasdair Kergon
169d4090ab
fix last checkin
2005-11-09 15:41:42 +00:00
Alasdair Kergon
0b43754d60
rename deptree
2005-11-09 14:10:50 +00:00
Alasdair Kergon
40788e8c3d
New activation code. [Not ready to be used yet.]
2005-11-08 22:50:11 +00:00
Alasdair Kergon
a8ac6e4a15
fix strncmps
2005-10-26 18:33:47 +00:00
Alasdair Kergon
6172cf9fba
Fix incorrect checkin
2005-10-26 18:32:57 +00:00
Alasdair Kergon
b728ec3909
Fix strncmps.
2005-10-26 18:17:36 +00:00
Alasdair Kergon
17d13dd084
Also suppress error if device doesn't exist with DM_DEVICE_STATUS.
2005-10-26 17:51:10 +00:00
Alasdair Kergon
2e95949b80
attempt to cope with uuid transition
2005-10-26 15:21:13 +00:00
Alasdair Kergon
6d1a5d45e2
check parents suspended
2005-10-26 14:08:24 +00:00
Alasdair Kergon
a6c7043e03
unfinished suspend functions
2005-10-25 19:09:41 +00:00
Alasdair Kergon
2e8a9c9874
Export dm_set_selinux_context.
2005-10-25 17:30:00 +00:00
Alasdair Kergon
20128bd04b
zero suppress
2005-10-20 20:38:18 +00:00
Alasdair Kergon
c0fefdde28
fix dev no printf
2005-10-20 20:29:58 +00:00
Alasdair Kergon
06acc2004f
cope with null uuid_prefix
2005-10-18 13:57:11 +00:00
Alasdair Kergon
c6880c957e
Tidy some log mesgs.
2005-10-18 13:07:41 +00:00
Alasdair Kergon
9160e496bc
Add deactivation functions
2005-10-18 12:37:53 +00:00
Alasdair Kergon
e8af32ec2b
dm_driver_version
2005-10-17 18:05:39 +00:00
Alasdair Kergon
67eb7723d6
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
251d138474
export bitset, pool, hash, malloc
2005-10-16 22:57:20 +00:00
Alasdair Kergon
f569abd28a
Code to build and display device dependency tree.
2005-10-16 14:33:22 +00:00
Alasdair Kergon
088f9687c0
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
25621396c9
Remember increased buffer size and use for subsequent calls.
2005-09-20 18:04:28 +00:00
Alasdair Kergon
82aa0271f3
Explicitly initialise no_open_count
2005-09-20 16:39:12 +00:00
Alasdair Kergon
653cab13f8
On 'buffer full' condition, double buffer size and repeat ioctl. [Untested]
2005-09-19 14:29:17 +00:00
Alasdair Kergon
0da3965d19
Report 'buffer full' condition with v4 ioctl as well as with v1.
2005-08-08 18:40:17 +00:00
Alasdair Kergon
196b8eaad3
Use matchpathcon mode parameter
2005-06-13 13:11:48 +00:00
AJ Lewis
d2529e6334
o print the context along with the path when setting selinux context
2005-06-10 21:30:21 +00:00
Benjamin Marzinski
853460b20d
Timeout event implementation:
...
The daemon side of this is mostly the same as the patch I sent out. To select
a timeout period different than the default and to get the timeout period,
I added two library calls, dm_set_event_timeout() and dm_get_event_timeout().
If people are against them, the other option is to tack extra arguments onto
dm_regiser_for_event() and dm_get_registered_device(). I also added a
-t option to dmevent, so people can try out timeouts.
2005-06-09 18:40:49 +00:00
Alasdair Kergon
99df4f892d
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
ebfe584afc
Call dm_lib_exit() and dm_lib_release() automatically now.
2005-05-16 15:15:34 +00:00
Alasdair Kergon
6b4f3d63b8
Fix contiguous allocations with linear.
2005-05-11 16:46:59 +00:00
AJ Lewis
2fedabd3b9
o stick multilog into the dm-event lib and dmeventd code again
...
o more tweaks to libmultilog calls - the api isn't set in stone yet, so
don't get too comfortable.
o not sure the dmeventd in device-mapper/dmeventd works - i've been using
the one in lib/event/
o currently both daemons are set to log only to syslog
2005-05-03 21:29:13 +00:00
Benjamin Marzinski
7a6fa7c5b4
changed client_path and sever_path from 'char *' to 'const char *' to stop
...
compiler warning messages.
2005-04-29 21:52:46 +00:00
Heinz Mauelshagen
d3901bcf2e
first changes to get comms back to work after flock changes
2005-04-29 13:41:25 +00:00
Alasdair Kergon
7a8ccda95c
o adds dm_get_next_registered_device() (not functional yet)
...
to retrieve which devices got registered with the daemon;
needs locking changes as well
2005-04-28 14:02:30 +00:00
Alasdair Kergon
44a1448542
Prototype for a device-mapper event-handling daemon.
2005-04-27 22:32:00 +00:00
Alasdair Kergon
9cdf6c203d
more refinements
2005-04-06 15:21:28 +00:00
Alasdair Kergon
839335cae6
Annotate, tidy and extend list.h.
2005-04-06 14:50:37 +00:00
Alasdair Kergon
2bfd64c3c9
Add option to compile without ioctl for testing.
2005-01-27 16:16:54 +00:00
Alasdair Kergon
181ea9a381
Add dm_task_no_open_count() to skip getting open_count.
2005-01-12 22:10:14 +00:00
Alasdair Kergon
f4ad6e2157
Fix /proc/devices parsing.
2005-01-07 15:39:53 +00:00
Alasdair Kergon
8502c6da3c
Attempt to fix /dev/mapper/control transparently if it's wrong.
2005-01-06 18:22:44 +00:00
Alasdair Kergon
6eebc4a620
Configuration-time option for setting uid/gid/mode for /dev/mapper nodes.
2005-01-05 22:00:40 +00:00
Alasdair Kergon
1ca102d639
Support device referencing by uuid or major/minor.
2004-10-01 19:11:37 +00:00
Alasdair Kergon
339ba55111
printf->fprintf
2004-10-01 19:07:41 +00:00
Alasdair Kergon
e3ebe5fc53
set_selinux_context() return code fix
2004-07-03 18:14:12 +00:00
Alasdair Kergon
0ac430892e
Fix device number handling for 2.6 kernels.
2004-07-01 15:14:29 +00:00
Alasdair Kergon
4991428510
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
9812657777
Support new target message ioctl.
2004-06-08 20:34:40 +00:00
Alasdair Kergon
9314c7c881
config option to avoid using install -o -g
2004-04-19 13:10:06 +00:00
Alasdair Kergon
5e7a308528
Ignore error setting selinux file context if fs doesn't support it.
2004-04-16 12:24:46 +00:00
Alasdair Kergon
7da1d731ff
add some selinux support
2004-04-06 18:54:00 +00:00
Alasdair Kergon
ef3bdbf4da
Fix dmsetup.static install.
2004-04-06 12:06:55 +00:00
Alasdair Kergon
1ed5d1e4c1
Combine static/dynamic build.
2004-04-05 20:48:14 +00:00
Alasdair Kergon
cb3a00e027
Move library targets definition into template.
2004-04-05 16:20:50 +00:00
Alasdair Kergon
6e0f638f5e
Build process fixes/tidy-ups.
2004-04-02 15:18:38 +00:00
Alasdair Kergon
d622f79533
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
66ed5f82c4
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
880f210946
Update copyright messages.
2004-03-30 19:08:57 +00:00
Alasdair Kergon
85dedc324c
Move full mknodes functionality from dmsetup into libdevmapper.
2004-03-30 14:31:58 +00:00
Alasdair Kergon
e3f8892003
more syncing with lvm2 build process
2004-02-24 19:23:28 +00:00
Alasdair Kergon
9d00ad5f18
Extract log.h and tweak funcs to be like lvm2 ones.
2004-02-24 18:50:09 +00:00
Alasdair Kergon
dae4344850
more makefile syncing
2004-02-24 18:46:20 +00:00
Alasdair Kergon
d52057e732
Static build too.
2004-01-28 03:40:31 +00:00
Alasdair Kergon
19a0fb04ad
Userspace support for LIST_VERSIONS ioctl.
2004-01-23 14:37:47 +00:00
Alasdair Kergon
49bd4d25a2
Option to revert to default logging function after using a custom one.
2003-12-21 16:08:20 +00:00
Alasdair Kergon
fb1748fb0f
dmsetup mknodes
2003-11-13 13:14:28 +00:00
Alasdair Kergon
5cf64db74e
Accept tables from stdin with dmsetup.
...
Update autoconf.
2003-11-12 17:30:32 +00:00
Alasdair Kergon
488cc94f36
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
8582ec724e
Improve segment merge/split code.
2003-09-15 18:22:50 +00:00
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