Alasdair Kergon
10eb720306
wrappers files
2006-08-17 19:56:28 +00:00
Alasdair Kergon
916490f8bf
Add lvm_getpagesize wrapper.
2006-08-17 18:23:44 +00:00
Alasdair Kergon
f2f8855b76
add dlerror to another error path
2006-07-05 17:26:36 +00:00
Alasdair Kergon
0b431b8a17
Use RTLD_GLOBAL when loading shared libraries.
2006-07-04 19:40:27 +00:00
Alasdair Kergon
2293567c8c
Fix lvcreate corelog validation.
...
Add --config for overriding most config file settings from cmdline.
Quote arguments when printing command line.
Remove linefeed from 'initialising logging' message.
Add 'Completed' debug message.
Don't attempt library exit after reloading config files.
Always compile with libdevmapper, even if device-mapper is disabled.
2006-05-16 16:48:31 +00:00
Alasdair Kergon
324d0b9742
not reqd
2006-05-12 19:44:42 +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
2f1489a673
Fix activation code to check for pre-existing mirror logs.
2006-04-28 17:01:07 +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
1a01b0c103
Suppress locking library load failure message if --ignorelockingfailure.
2006-04-03 18:43:55 +00:00
Alasdair Kergon
1b6e5052c9
Fix dmeventd sharedlib path & start tidying registration code.
2006-01-27 20:13:12 +00:00
Alasdair Kergon
5f4b2acfe5
Replacement activation code. [Don't use this yet!]
2005-11-08 22:52:26 +00:00
Alasdair Kergon
ffbfce30b5
Move set_selinux_context into libdevmapper
2005-10-25 17:28:46 +00:00
Alasdair Kergon
a653923fe7
Attempt to load missing targets using modprobe.
2005-10-17 17:56:27 +00:00
Alasdair Kergon
2262b32057
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
40ec1e8a36
Suppress fsync() error message on filesystems that don't support it.
2005-09-01 18:37:22 +00:00
Alasdair Kergon
4bf57acec8
Factor out _get_library_path().
2005-08-09 17:24:21 +00:00
Alasdair Kergon
56c3d1f7fc
Use matchpathcon mode parameter.
2005-06-13 13:13:15 +00:00
AJ Lewis
c71d140252
o print the context along with the path when setting selinux context
2005-06-10 21:30:21 +00:00
Alasdair Kergon
24e654645f
vgscan/change/display/vgs automatically create metadata backup if out-of-date or missing.
2005-05-17 13:44:02 +00:00
Alasdair Kergon
e5def0bab5
Additional rename failure error message.
2005-03-10 22:31:10 +00:00
Alasdair Kergon
56f5c04d5b
Fix size of dm_name string.
2004-10-11 15:59:23 +00:00
Alasdair Kergon
7f64c8e5fa
Export dm name build & split functions.
2004-09-15 15:02:36 +00:00
Alasdair Kergon
01c263e9fe
Fix sync_dir() when no / in filename.
2004-06-19 19:24:33 +00:00
Alasdair Kergon
470a1e923c
Don't abort operations if selinux is present but disabled.
2004-05-04 15:29:26 +00:00
Alasdair Kergon
96185e9ca1
Use 64-bit file functions.
2004-04-16 18:43:29 +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
036f273ad0
Basic selinux support
2004-04-07 14:08:22 +00:00
Alasdair Kergon
6606c3ae81
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
814643d8a2
rename config file vars & always use / as separator
2004-03-08 18:28:45 +00:00
Alasdair Kergon
c2b067912b
File missed from last checkin.
2004-02-18 13:06:21 +00:00
Alasdair Kergon
69792976e4
Basic internationalisation support.
2004-02-13 22:56:45 +00:00
Alasdair Kergon
c1c0685e34
split_words()
2004-02-13 14:43:35 +00:00
Alasdair Kergon
aa37899857
Extract some common functions.
2003-09-17 20:35:57 +00:00
Alasdair Kergon
914c97239f
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
26e7f2e0c4
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
8ef2b021ed
Default stripesize 64k & config file setting for it;
...
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-) (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug
2002-12-19 23:25:55 +00:00
Alasdair Kergon
0fc1d0788d
Add sync_dir()
2002-12-05 22:51:15 +00:00
Alasdair Kergon
d1d9800ef1
Refactoring.
2002-11-18 14:01:16 +00:00
Alasdair Kergon
70d6838fb0
Tidy
2002-05-31 19:28:37 +00:00
Andres Salomon
6106741bea
ack, missing include
2002-05-19 04:11:34 +00:00
Andres Salomon
6e0fa64c7b
update create_dir() comment
2002-05-19 03:52:38 +00:00
Andres Salomon
310a81c90c
support recursive mkdir in create_dir()
2002-05-19 03:46:34 +00:00
Alasdair Kergon
251502f9a1
Move is_empty_dir to lvm-file
2002-03-11 22:23:24 +00:00
Alasdair Kergon
7d0e6e800e
o Support locking with local lock files
...
o Disable control-c during updates (except if blocked waiting for a lock)
2002-02-11 15:42:34 +00:00
Joe Thornber
12137231d3
o move the path building functions to lib/activate/names.c
...
o Update activate.c and fs.c to use them
o device names are now of the form <vg>:<lv>
2002-01-21 11:06:32 +00:00
Alasdair Kergon
9b6934ba33
Temporary file creation & renaming.
2002-01-10 12:22:17 +00:00
Alasdair Kergon
6c94692bc6
Fix C99 error case handling (snprintf ret value >= buffer size).
2001-12-31 15:17:34 +00:00
Joe Thornber
9f44467d44
o sync backup changes
2001-12-20 11:52:54 +00:00
Joe Thornber
39b633c1de
o lvm_snprintf
...
Could everyone please use this from now on.
2001-12-17 14:04:10 +00:00