1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

man: _corig is reserved

This commit is contained in:
Zdenek Kabelac 2014-11-08 13:16:35 +01:00
parent 3e230a8ad8
commit c5c2665a21
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.112 -
=====================================
Add _corig as reserved suffix.
Reduce vg write and vg commits when creating spare volumes.
When remove_layer_from_lv() removes layer, restore subLV names.
Cache-pool in use becomes invisible LV.

View File

@ -121,6 +121,7 @@ static const char *_lvname_has_reserved_string(const char *lvname)
static const char _strings[][12] = {
"_cdata",
"_cmeta",
"_corig",
"_mimage",
"_mlog",
"_pmspare",

View File

@ -346,7 +346,7 @@ VG and LV names cannot begin with a hyphen.
There are also various reserved names that are used internally by lvm that can not be used as LV or VG names.
A VG cannot be called anything that exists in /dev/ at the time of creation, nor can it be called '.' or '..'.
An LV cannot be called '.', '..', 'snapshot' or 'pvmove'. The LV name may also not contain any of the following
strings: '_cdata', '_cmeta', '_mlog', '_mimage', '_pmspare', '_rimage', '_rlog', '_tdata' or '_tmeta'.
strings: '_cdata', '_cmeta', '_corig', '_mlog', '_mimage', '_pmspare', '_rimage', '_rlog', '_tdata' or '_tmeta'.
A directory bearing the name of each Volume Group is created under /dev when any of its Logical Volumes are activated.
Each active Logical Volume is accessible from this directory as a symbolic link leading to a device node.
Links or nodes in /dev/mapper are intended only for internal use and the precise format and escaping might change between releases and distributions.