summaryrefslogtreecommitdiffstats
path: root/tools/lvm.c
Commit message (Collapse)AuthorAgeFilesLines
* config: add silent modeAlasdair G Kergon2012-08-251-0/+1
| | | | | | | | | | | | | | | | Accept -q as the short form of --quiet. Suppress non-essential standard output if -q is given twice. Treat log/silent in lvm.conf as equivalent to -qq. Review all log_print messages and change some to log_print_unless_silent. When silent, the following commands still produce output: dumpconfig, lvdisplay, lvmdiskscan, lvs, pvck, pvdisplay, pvs, version, vgcfgrestore -l, vgdisplay, vgs. [Needs checking.] Non-essential messages are shifted from log level 4 to log level 5 for syslog and lvm2_log_fn purposes.
* Remove unneeded assignmentsZdenek Kabelac2012-02-081-1/+1
| | | | Variables have (or will have) those values set.
* Thin remove unused defineZdenek Kabelac2011-11-121-1/+0
| | | | | | | Remove DM_THIN_ERROR_DEVICE_ID from API. Remove API warning. Drop code that was using DM_THIN_ERROR_DEVICE_ID (already commented) Remove debug message which slipped in through some previous commit.
* Support repetition of --addtag and --deltag arguments.Alasdair Kergon2010-11-111-2/+2
| | | | | Add infrastructure for specific cmdline arguments to be repeated in groups. Split the_args cmdline arguments and values into arg_props and arg_values.
* Fix potential NULL pointer dereferenceZdenek Kabelac2010-10-251-3/+3
| | | | | | Makes clang happier as it covers all code paths and avoids NULL pointer dereference through the 'com' pointer (which is NULL by default static initialisation).
* Use __attribute__ consistently throughout.Alasdair Kergon2010-07-091-1/+1
|
* Fix lvm shell crash when input is entirely whitespace. (Xinwei Hu)Alasdair Kergon2010-07-011-0/+3
|
* #define an INTERNAL_ERROR macro and use it throughout LVM.Petr Rockai2009-12-161-1/+1
|
* Create global is_static() to eliminate from the library init function.Dave Wysochanski2008-12-181-1/+1
| | | | | | | | Very simple / crude method of removing 'is_static' from initialization. Why should we require an application tell us whether it is linked statically or dynamically to libLVM? If the application is linked statically, but libraries exist and dlopen() calls succeed, why do we care if it's statically linked?
* post-releaseAlasdair Kergon2008-06-061-0/+4
|
* back out unnecessary changes for this releaseAlasdair Kergon2008-06-061-4/+0
|
* suppress warning on silent failure with ECMD_PROCESSEDAlasdair Kergon2008-06-031-1/+1
|
* In script-processing mode, stop if any command fails.Alasdair Kergon2008-05-301-0/+4
| | | | Warn if command exits with non-zero status code without a prior log_error.
* Fix mirror log name construction during lvconvert. (2.02.30)Alasdair Kergon2008-01-311-1/+2
| | | | | | Make monitor_dev_for_events recurse through the stack of LVs. Clean up some more compiler warnings. Add mirror names test script.
* Some whitespace tidy-ups.Alasdair Kergon2008-01-301-1/+1
|
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-201-1/+1
|
* Exclude readline support from lvm.staticAlasdair Kergon2007-02-141-0/+224
|
* Static binary invokes dynamic binary if appropriate.Alasdair Kergon2005-02-181-1/+1
|
* More build fixesAlasdair Kergon2004-04-061-1/+2
|
* Update copyright notices.Alasdair Kergon2004-03-301-1/+9
|
* Move main() into separate file.Alasdair Kergon2004-03-261-1228/+2
|
* Indent; _init -> _init_lvmAlasdair Kergon2004-03-261-8/+6
|
* Rebaseline internal verbose level.Alasdair Kergon2004-03-261-1/+1
|
* rename config file vars & always use / as separatorAlasdair Kergon2004-03-081-16/+16
|
* host tagsAlasdair Kergon2004-03-081-2/+5
|
* taggingAlasdair Kergon2004-03-081-0/+14
|
* Fix (rare) bug in recognition of long argument forms.Alasdair Kergon2004-03-081-1/+2
|
* Don't forget to set 64-bit arg values too.Alasdair Kergon2003-10-151-0/+2
|
* macro changesAlasdair Kergon2003-10-151-4/+1
|
* Prevent cmdline flags that take args getting repeated.Alasdair Kergon2003-09-151-0/+9
|
* Log each command & args.Alasdair Kergon2003-08-261-0/+2
|
* Another sync point - numerous fixes & clean ups.Alasdair Kergon2003-07-041-1/+1
|
* Store argvAlasdair Kergon2003-05-061-0/+1
|
* fix optind after last change to itAlasdair Kergon2003-04-241-3/+7
|
* Improve build robustness.Alasdair Kergon2003-04-151-8/+17
|
* Allow for specification of major number as well as minor.Alasdair Kergon2003-04-021-0/+17
|
* Tidy various pre-processing incl. making libdl optional.Alasdair Kergon2003-03-241-1/+1
|
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-191-39/+52
| | | | | | 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
* New column-based reporting tools: lvs, pvs & vgs.Alasdair Kergon2002-12-121-1/+13
|
* Fix long arg processing.Alasdair Kergon2002-12-051-4/+10
|
* Default size unit normally MB not KB.Alasdair Kergon2002-12-031-2/+14
|
* Further help text tidying & support for -?.Alasdair Kergon2002-11-291-3/+3
|
* Some new features.Alasdair Kergon2002-11-181-616/+273
|
* Add --ignorelockingfailureAlasdair Kergon2002-07-101-0/+5
|
* Always call init_log() to initialise logging defaults.Alasdair Kergon2002-05-081-8/+6
|
* log/{prefix,command_names} use defaults.h & reset between shell cmdsAlasdair Kergon2002-05-071-7/+14
|
* o Updated *display output for LVM1 compatibilityAJ Lewis2002-04-291-0/+3
| | | | | | | | o There is still a bit missing + all are missing the {PV,VG,LV} # - that is not applicable in LVM2 + pvdisplay doesn't show how many LVs are contained on it + much of the snapshot information isn't available for lvdisplay o Look at the code for other potiential FIXMEs :)
* Merge with text format branch.Alasdair Kergon2002-04-241-6/+39
| | | | | | | | | | | | | | | | | | | Lots of changes/very little testing so far => there'll be bugs! Use 'vgcreate -M text' to create a volume group with its metadata stored in text files. Text format metadata changes should be reasonably atomic, with a (basic) automatic recovery mechanism if the system crashes while a change is in progress. Add a metadata section to lvm.conf to specify multiple directories if you want (recommended) to keep multiple copies of the metadata (eg on different filesystems). e.g. metadata { dirs = ["/etc/lvm/metadata1","/usr/local/lvm/metadata2"] } Plenty of refinements still in the pipeline.
* add setlocale() call so that localisation of things like number entryPatrick Caulfield2002-04-241-0/+2
| | | | and display will work correctly.
* o misc little fixes.Joe Thornber2002-02-211-4/+1
|