Alasdair Kergon
a9953411a8
o Rejig activation code device dependencies to make things a bit more robust
...
and further reduce the number of ioctl calls made.
o Metadata area struct change.
o Make config file accessible to activation functions & get stripe_filler
from it.
o Allow kernel to return snapshot status as a fraction or a percentage.
2003-04-24 22:09:13 +00:00
Alasdair Kergon
75833edb80
indent
2003-04-24 22:00:29 +00:00
Alasdair Kergon
d9e14671aa
fix optind after last change to it
2003-04-24 21:59:42 +00:00
Alasdair Kergon
9a079266dd
Add pool_strndup
2003-04-24 21:58:34 +00:00
Alasdair Kergon
356409734e
DM_EXISTS_FLAG replaced by ENXIO
2003-04-24 16:08:18 +00:00
Alasdair Kergon
41d02bc385
Some ioctl code tidying: removing duplicate internal buffers; making bounds
...
checks clearer (incl. variable renaming); using a flag to indicate when
output data doesn't fit into supplied buffer instead of returning an error etc.
2003-04-22 21:22:04 +00:00
Alasdair Kergon
010c07de20
Improve message for pvcreate of empty device.
2003-04-22 16:09:11 +00:00
Alasdair Kergon
b896caa19b
Improve build robustness.
2003-04-15 13:24:42 +00:00
Alasdair Kergon
5beb6fab74
Abort if any filter creation fails.
2003-04-15 13:22:43 +00:00
Alasdair Kergon
258c50db74
Cope with intentionally missing /proc.
2003-04-15 13:21:38 +00:00
Alasdair Kergon
446155d94f
Support snapshot status fraction.
2003-04-15 13:20:16 +00:00
Alasdair Kergon
0e69d32bed
Display read-only state.
2003-04-15 12:30:44 +00:00
Alasdair Kergon
be5027f695
alignment fixes
2003-04-08 21:20:31 +00:00
Alasdair Kergon
abc6d41532
Add major arg
2003-04-04 13:22:58 +00:00
Alasdair Kergon
27f364af95
Allow for specification of major number as well as minor.
2003-04-02 19:14:43 +00:00
Alasdair Kergon
34e0f798e3
size_t tidying
2003-04-02 19:11:23 +00:00
Alasdair Kergon
12428fceee
Allow device major to be set too.
2003-04-02 19:03:00 +00:00
Alasdair Kergon
6a149cba6b
Reinstate lost vg_write() in lvchange --permission.
2003-04-02 13:01:04 +00:00
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
1fa74f62e8
Avoid report segfault with non-partial inconsistent VG.
2003-03-24 18:22:48 +00:00
Alasdair Kergon
26e7f2e0c4
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
3a1703294b
Fix incomplete munmap. (pjc)
2003-03-20 14:29:28 +00:00
Alasdair Kergon
55d68d2ab3
Fix typo.
2003-03-03 12:57:27 +00:00
Joe Thornber
712a874f07
HAT_CHAR and DOLLAR_CHAR were defined to the same value !
2003-02-20 14:53:56 +00:00
Alasdair Kergon
c46867e1d6
Fix table output bug in last commit.
2003-02-20 13:30:03 +00:00
Andres Salomon
7d4d197eac
Update packages.
2003-02-16 22:12:28 +00:00
Alasdair Kergon
7e4867f743
LV name validation
2003-02-03 20:09:58 +00:00
Alasdair Kergon
c0002e576e
Identifiers may now start with digits etc.
2003-02-03 20:08:45 +00:00
Alasdair Kergon
efb63f4740
Allow strings in single quotes too
2003-01-28 17:20:11 +00:00
Alasdair Kergon
41102098e5
Treat 'section{' as equivalent to 'section {'
2003-01-28 16:07:04 +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
a0568eca2b
Allow optional verbose logging.
2003-01-21 21:25:51 +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
79be52c881
Indicate full (dropped) snapshot.
2003-01-21 18:50:50 +00:00
Alasdair Kergon
a421f74371
vgreduce --removemissing to remove missing PVs & deps & make VG consistent
2003-01-17 21:04:26 +00:00
Alasdair Kergon
8ae908a085
Add success message; validate given VG name.
2003-01-17 21:02:04 +00:00
Alasdair Kergon
711f7fc681
Activation commands now return success in test mode.
2003-01-17 20:16:23 +00:00
Alasdair Kergon
07f9ce4b9e
Update
2003-01-10 22:51:18 +00:00
Alasdair Kergon
e9ea1fb3bf
Fix (rare) cache bug on machines with large /dev directories.
2003-01-10 19:14:01 +00:00
Alasdair Kergon
04e8cd96f3
Fix segfault in uuid display (substitution missed during bulk change)
2003-01-09 19:35:17 +00:00
Alasdair Kergon
199e490e7d
configure --disable-devmapper if you don't have libdevmapper
2003-01-08 22:44:07 +00:00
Alasdair Kergon
4970ebfb92
o Additional device/filter-level debugging messages + duplicate alias fix
...
o 32/64-bit size_t fix (pjc)
2003-01-08 16:41:22 +00:00
Alasdair Kergon
c68e513814
Update date.
2003-01-07 17:06:58 +00:00
Alasdair Kergon
f3f3424f9a
Detect duplicate PV uuids - select the one on an md device if appropriate.
2003-01-06 21:10:43 +00:00
Alasdair Kergon
fdf481c665
Ignore filter cache at startup if config file is newer than cache.
2003-01-06 21:09:04 +00:00
Alasdair Kergon
d0df19e8a3
More docn for filter changes.
2003-01-06 21:07:27 +00:00
Alasdair Kergon
f3993cac4a
Correct error message for non-snapshot activation failure.
2003-01-06 21:06:43 +00:00
Alasdair Kergon
4aae68792c
When there are device name aliases, choose the "nicest" to display.
2003-01-03 21:11:23 +00:00