Alasdair Kergon
0f817d38f7
If kernel supports only one dm major number, use in place of any supplied.
...
No longer require kernel and metadata major numbers to match.
2009-02-12 20:42:07 +00:00
Alasdair Kergon
302125622a
post-release
2009-01-26 14:46:08 +00:00
Alasdair Kergon
c6a808f1a7
pre-release
2009-01-26 13:14:22 +00:00
Alasdair Kergon
1f1aaf43ea
Add an "all" field which expands to all fields of the report type.
...
For example in LVM2, "pv_all" gives all PV fields.
"seg_all" gives all LV segment fields.
"all" gives all fields of the final report type. I think this is more
useful than just adding the current prefix.
So "lvs -o seg_all" gives all the LV segment fields, whilst
"lvs --segments -o all" adds in LV and VG fields too.
"lvs -o all -O vg_name" has report type LVS+VGS so includes all LV and all
VG fields.
2009-01-10 03:01:35 +00:00
Peter Rajnoha
c48e40391b
Add checks for device names in dmsetup and show proper error messages.
...
Checks added for DM device names to allow only names < DM_NAME_LEN,
otherwise a part of lengthy name would be silently ignored and could
cause confusion while using dmsetup. Also, the name should not contain
'/' character, if it is used in context of creating a new device
or renaming the existing one (because we do not consider full path
to devices, they do not exist in filesystem yet) and appropriate error
messages are shown.
2009-01-07 12:17:40 +00:00
Zdenek Kabelac
ffa9b6a571
Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines
2008-12-11 16:25:51 +00:00
Alasdair Kergon
07698bfd56
post-release (retrospective)
2008-11-19 14:14:51 +00:00
Alasdair Kergon
b362d126ef
First test release of the merged code base.
2008-11-10 12:39:50 +00:00
Alasdair Kergon
0b1bf1f56b
Split out dm-logging.h from log.h
2008-10-30 17:24:04 +00:00
Alasdair Kergon
4a0651146c
Use lvm-types.h
2008-10-30 15:11:16 +00:00
Alasdair Kergon
620efe9ce7
Add usrsbindir to configure.
2008-10-07 19:08:46 +00:00
Alasdair Kergon
839e2e92e2
post-release
2008-09-18 20:09:51 +00:00
Alasdair Kergon
bb875bb9e4
Only resume devices in dm_tree_preload_children if size changes.
2008-09-18 18:34:53 +00:00
Alasdair Kergon
7d7d93ac6c
Extend deptree buffers so the largest possible device numbers fit.
2008-09-02 12:16:07 +00:00
Zdenek Kabelac
c454025a0f
Added generation of the versioned libdevmapper-event.so for LVM's test
2008-06-27 15:36:51 +00:00
Alasdair Kergon
b6943304c9
Underline longer report help text headings.
2008-06-25 19:52:52 +00:00
Alasdair Kergon
5bb4711b22
post-release
2008-06-25 14:44:00 +00:00
Alasdair Kergon
6e1898a5a2
pre-commit
2008-06-25 14:24:17 +00:00
Alasdair Kergon
9070816ebb
Align struct memblock in dbg_malloc for sparc.
2008-06-25 14:10:33 +00:00
Alasdair Kergon
ca8d363d2c
Add --rows to dmsetup.
2008-06-24 22:53:48 +00:00
Alasdair Kergon
f1839ac87c
dmsetup --unquoted
2008-06-24 20:16:47 +00:00
Jim Meyering
dacf86a12d
avoid compiler warning about cast in OFFSET_OF macro
...
* dmsetup/dmsetup.c (OFFSET_OF): Use an equivalent definition
that does not cast a pointer value to a narrower type.
2008-06-18 10:19:25 +00:00
Alasdair Kergon
afbf31eba9
Fix inverted no_flush debug message. (mpatocka)
2008-06-10 11:19:19 +00:00
Alasdair Kergon
fb7487a9aa
bring list.h into line with lvm2
2008-06-08 14:53:51 +00:00
Alasdair Kergon
034ceb60ab
.
2008-06-06 20:45:41 +00:00
Alasdair Kergon
8bea657cac
Bring configure.in into line with the lvm2 version.
2008-06-06 20:33:13 +00:00
Alasdair Kergon
ec40d92889
post-release
2008-06-06 19:28:35 +00:00
Alasdair Kergon
bccf22f6b4
pre-release
2008-06-06 19:09:19 +00:00
Alasdair Kergon
0f4355d518
nameprefixes
2008-06-06 18:53:26 +00:00
Alasdair Kergon
db6056516e
change --prefixes to --nameprefixes
2008-06-06 18:53:08 +00:00
Alasdair Kergon
12ea7cb133
Initialise params buffer to empty string in _emit_segment.
2008-06-05 19:10:35 +00:00
Alasdair Kergon
b947f34393
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
82bacfc3b2
Add 3 new reporting colums: tables_loaded, readonly, suspended.
2008-04-21 13:16:30 +00:00
Alasdair Kergon
dd540781dc
Add --prefixes to dmsetup
...
E.g. dmsetup info -c --prefixes
Again, might change the name of this option.
2008-04-21 11:59:22 +00:00
Alasdair Kergon
c791f186ce
Add field name prefix option to reporting functions.
2008-04-20 00:11:08 +00:00
Alasdair Kergon
f44e3ff46a
Calculate string size within dm_pool_grow_object.
2008-04-19 15:50:18 +00:00
Alasdair Kergon
c21b4393ed
post-release
2008-04-10 18:04:31 +00:00
Alasdair Kergon
3cffaedad0
pre-release
2008-04-10 18:00:45 +00:00
Jim Meyering
448ef456ff
Remove redundant if-before-free tests.
2008-02-15 14:14:58 +00:00
Alasdair Kergon
ad1fc08312
Use log_warn for reporting field help text instead of log_print.
2008-01-20 01:14:38 +00:00
Jonathan Earl Brassow
d6d4661517
- 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
72199adfc3
post-release
2007-12-20 15:16:14 +00:00
Alasdair Kergon
e8a4c1701a
pre-release
2007-12-20 15:12:57 +00:00
Alasdair Kergon
fc795d8701
more readahead node fixes/debug messages
2007-12-14 19:49:27 +00:00
Alasdair Kergon
bafa2f39cf
Fix deptree to pass new name to _resume_node after a rename.
2007-12-14 17:57:04 +00:00
Alasdair Kergon
4a41a93a7a
Add node operation stack debug messages.
2007-12-14 17:26:09 +00:00
Alasdair Kergon
3a2234162d
Report error when empty device name passed to readahead functions.
2007-12-13 02:25:45 +00:00
Alasdair Kergon
482904cf86
clarify
2007-12-05 22:45:56 +00:00
Alasdair Kergon
de4ddace2e
Fix minimum readahead debug message.
2007-12-05 18:57:34 +00:00
Alasdair Kergon
3410687443
post-release
2007-12-05 17:14:30 +00:00