Alasdair Kergon
2c7fbadeef
more coverity fixes
2006-05-10 17:49:25 +00:00
Alasdair Kergon
eba586f053
Fix uuid_from_num() buffer overrun.
2006-05-10 16:42:03 +00:00
Alasdair Kergon
7dc850db3e
coverity fixes
2006-05-10 16:23:41 +00:00
Alasdair Kergon
72b2cb613a
Make SIZE_SHORT the default for display_size().
...
Fix some memory leaks in error paths found by coverity.
Use C99 struct initialisers.
Move DEFS into configure.h.
Clean-ups to remove miscellaneous compiler warnings.
2006-05-09 21:23:51 +00:00
Alasdair Kergon
b810c54700
sign fix
2006-05-04 09:33:42 +00:00
Alasdair Kergon
98513c2729
fix stripesize const
2006-05-02 07:14:43 +00:00
Alasdair Kergon
12de747d3a
Improve stripe size validation.
...
Increase maximum stripe size limit to physical extent size for lvm2 metadata.
2006-04-29 22:08:43 +00:00
Alasdair Kergon
8b4273d298
missing {
2006-04-28 21:07:19 +00:00
Alasdair Kergon
5c24f56b46
validate region size against page size
2006-04-28 17:25:54 +00:00
Alasdair Kergon
2f1489a673
Fix activation code to check for pre-existing mirror logs.
2006-04-28 17:01:07 +00:00
Alasdair Kergon
089ae9a58e
Tighten region size validation.
2006-04-28 15:01:39 +00:00
Alasdair Kergon
dfb5da937e
tweak .so loading messages; extra device_exists() sanity check
2006-04-28 14:08:04 +00:00
Alasdair Kergon
e24e713001
_register_dev_for_events to return error on failure
2006-04-28 14:06:06 +00:00
Alasdair Kergon
81b4308bde
Ignore empty strings in config files.
2006-04-28 13:30:59 +00:00
Alasdair Kergon
12ccdb25e4
Require non-zero regionsize and document parameter on lvcreate man page.
2006-04-28 13:11:05 +00:00
Alasdair Kergon
6aa17fe8d2
remove redundant list_init
2006-04-27 17:58:48 +00:00
Alasdair Kergon
26b2524996
Invalidate cache if composition of VG changed externally.
2006-04-21 19:12:41 +00:00
Alasdair Kergon
16959f2f01
terminate vgid in debug mesg
2006-04-21 15:37:08 +00:00
Alasdair Kergon
e9fb04c750
pre-release
2006-04-21 15:27:38 +00:00
Alasdair Kergon
05ffaffe0c
Fix vgid string termination in recent cache code.
2006-04-21 14:44:33 +00:00
Alasdair Kergon
c1d0a12121
Increase dmsetup line buffer to 4k.
2006-04-19 20:43:30 +00:00
Alasdair Kergon
c05fbac29a
post-release
2006-04-19 20:15:11 +00:00
Alasdair Kergon
9e8a7c7dab
remove inlines
2006-04-19 18:12:33 +00:00
Alasdair Kergon
13eadfc95a
pre-release
2006-04-19 18:06:56 +00:00
Alasdair Kergon
b4cbeca164
fix makefile
2006-04-19 17:32:05 +00:00
Alasdair Kergon
126a5696f2
fix makefile
2006-04-19 17:24:00 +00:00
Alasdair Kergon
a0e9de70a7
post-release
2006-04-19 17:21:39 +00:00
Alasdair Kergon
06541daa12
fix makefile
2006-04-19 17:15:08 +00:00
Alasdair Kergon
a669fcc59b
update version
2006-04-19 16:41:03 +00:00
Alasdair Kergon
0c8ff3ad63
make pkgconfig installation step optional, and clean up generated files
2006-04-19 16:38:56 +00:00
Alasdair Kergon
8a2fc58645
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
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
dbd3026f8a
vgrename accepts vgid and exported VG.
2006-04-13 21:08:29 +00:00
Alasdair Kergon
f855ac3807
Add --partial to pvs.
2006-04-13 17:51:40 +00:00
Alasdair Kergon
2ab16287e6
When choosing between identically-named VGs, also consider creation_host.
2006-04-13 17:32:24 +00:00
Alasdair Kergon
a5fe5a7cdd
Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct.
...
Add vgid to struct physical_volume and pass with vg_name to some functions.
2006-04-12 21:23:04 +00:00
Alasdair Kergon
e8db70239e
If two or more VGs are found with the same name, use one that is not exported.
2006-04-12 17:54:11 +00:00
Alasdair Kergon
5dbc1f263a
tidy
2006-04-11 19:09:55 +00:00
Alasdair Kergon
f084e627cc
When scanning, also record whether or not VG is exported.
2006-04-11 17:42:15 +00:00
Alasdair Kergon
f9c232c2ee
Use lvmcache_update_vgname_and_id throughout.
2006-04-11 16:00:26 +00:00
Alasdair Kergon
cced28dac3
Whenever vgname is captured, also capture vgid.
2006-04-11 13:55:59 +00:00
Alasdair Kergon
a14aa9d8c3
Capture vgid in more places.
2006-04-10 22:09:00 +00:00
Alasdair Kergon
ace652e673
lv_is_visible()
2006-04-07 17:41:56 +00:00
Alasdair Kergon
d79e9d0d61
missing vg_name initialisation
2006-04-07 14:14:31 +00:00
Alasdair Kergon
76f97cd75d
Update extent size information in vgchange and vgcreate man pages
2006-04-06 21:15:14 +00:00
Alasdair Kergon
823a36448f
Bring dmsetup man page up-to-date.
2006-04-06 16:20:40 +00:00
Alasdair Kergon
472ac5bdd5
more snapshot code tidying
2006-04-06 14:06:27 +00:00
Alasdair Kergon
2cd0aa727a
Introduce origin_from_cow()
2006-04-06 13:39:16 +00:00