summaryrefslogtreecommitdiffstats
path: root/lib/uuid/uuid.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert the #include changes. Need to fix this at the #include site for now, andPetr Rockai2011-07-181-4/+0
| | | | eventually refactor the way we structure #includes in the all of the library.
* Add a couple missing #includes in uuid.h.Petr Rockai2011-07-181-0/+4
|
* Add id_format_and_copy() common function and call from _uuid_disp.Dave Wysochanski2010-09-301-0/+2
| | | | | Add supporting uuid function to allocate memory and call id_write_format. Call id_format_and_copy from _uuid_disp.
* Fix vgconvert logical volume id metadata validation.Milan Broz2008-08-281-0/+1
| | | | | If volume group is downconverted to lvm1 format, check if lvid has supported format for conversion to lv_num in lvm1.
* Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.Alasdair Kergon2007-08-201-3/+3
|
* Make SIZE_SHORT the default for display_size().Alasdair Kergon2006-05-091-1/+1
| | | | | | | 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.
* Alignment tidying.Alasdair Kergon2005-04-061-2/+2
|
* Update copyright notices.Alasdair Kergon2004-03-301-2/+11
|
* If PV/VG uuids are missing, generate them from the pv/vg numbers.Alasdair Kergon2004-01-091-0/+2
| | | | | [This situation could occur if the uuids were oritinally created by LVM1 on a system without /dev/urandom.]
* Tidy various pre-processing incl. making libdl optional.Alasdair Kergon2003-03-241-2/+0
|
* Default stripesize 64k & config file setting for it;Alasdair Kergon2002-12-191-4/+4
| | | | | | 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
* Merge with text format branch.Alasdair Kergon2002-04-241-0/+1
| | | | | | | | | | | | | | | | | | | 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.
* o This should complete the dev_manager alg. Please could people nowJoe Thornber2002-03-111-1/+1
| | | | report any activation oddities they see.
* o Use new LCK_HOLD flag to indicate whether lock should be held on returnAlasdair Kergon2002-03-051-2/+11
| | | | | | | | | from lock_vol() - otherwise it now attempts to acquire the lock and then immediately releases it. o Extend the id field in struct logical_volume to hold VG uuid + LV uuid for format1. This unique lvid can be used directly when calling lock_vol(). o Add the VG uuid to vgcache to make VG uuid lookups possible. (Another step towards using them instead of VG names internally.)
* Begin conversion so LV id is passed to activation unit instead ofAlasdair Kergon2002-02-251-0/+1
| | | | struct logical_volume.
* Generate LV uuid from lv_number when reading in LVs.Alasdair Kergon2002-02-211-0/+3
|
* o split the uuid -> device map out from vgcacheJoe Thornber2002-01-151-1/+1
| | | | | | | o roll vgcache back to agk's implementation, we'll revisit this as part of the cluster integration. o change the extra_info field in a label to be a void *
* o Pretty print and read for uuid'sJoe Thornber2001-12-111-0/+11
|
* o pvcreateJoe Thornber2001-10-121-0/+22
o added uuid unit o stubbed partition stuff