1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/man
Peter Rajnoha 0a48137d39 pvscan: use major:minor as short form of --major and --minor arg for pvscan --cache
Before, pvscan recognized either:
  pvscan --cache --major <major> --minor <minor>
or
  pvscan --cache <DevicePath>

When the device is gone and we need to notify lvmetad about device
removal, only --major/--minor works as we can't translate DevicePath
into major/minor pair anymore. The device does not exist in the system
and we don't keep DevicePath index in lvmetad cache to make the
translation internally into original major/minor pair. It would be
useless to keep this index just for this one exact case.

There's nothing bad about using "--major <major> --minor <minor>",
but it makes our life a bit harder when trying to make an
interconnection with systemd units, mainly with instantiated services
where only one and only one arg can be passed (which is encoded in the
service name).

This patch tries to make this easier by adding support for recognizing
the "<major>:<minor>" as a shortcut for the longer form
"--major <major> --minor <minor>". The rule here is simple: if the argument
starts with "/", it's a DevicePath, otherwise it's a <major>:<minor> pair.
2013-10-22 13:52:18 +02:00
..
blkdeactivate.8.in blkdeactivate: change the way blkdeactivate reports status 2013-08-13 17:51:23 +02:00
clvmd.8.in Update man pages 2012-04-11 12:42:10 +00:00
cmirrord.8.in a little more information for the cmirrord man page 2010-01-22 21:48:17 +00:00
dmeventd.8.in Updated documentation for dmeventd. 2011-12-22 15:50:38 +00:00
dmsetup.8.in man: updates 2013-05-13 13:09:30 +02:00
fsadm.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvchange.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
lvconvert.8.in RAID: Make "raid1" the default mirror segment type 2013-08-06 14:13:55 -05:00
lvcreate.8.in RAID: Make "raid1" the default mirror segment type 2013-08-06 14:13:55 -05:00
lvdisplay.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
lvextend.8.in man: lvextend --use-policies 2013-04-25 17:33:24 +02:00
lvm.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
lvm.conf.5.in man: refine doc for config profiles 2013-07-04 12:09:21 +02:00
lvmchange.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmconf.8.in lvmconf: use_lvmetad=0 on --enable-cluster, reset to default on --disable-cluster 2013-09-24 14:03:42 +02:00
lvmdiskscan.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmdump.8.in man: lvmdump -u -l 2013-08-29 14:20:57 +02:00
lvmetad.8.in man: updates 2013-05-13 13:09:30 +02:00
lvmsadc.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvmsar.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvreduce.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvremove.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvrename.8.in Update man pages 2012-04-11 12:42:10 +00:00
lvresize.8.in thin: lvresize supports pool metadata resize 2013-06-11 14:05:20 +02:00
lvs.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
lvscan.8.in Update man pages 2012-04-11 12:42:10 +00:00
Makefile.in man: document profile config and related options 2013-07-03 16:49:26 +02:00
pvchange.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvck.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvcreate.8.in man: pvs -o ba_start,ba_size -> pv_ba_start,pv_ba_size 2013-07-23 14:45:30 +02:00
pvdisplay.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
pvmove.8.in pvmove: Accept PE ranges as start+length. 2013-09-23 19:50:34 +01:00
pvremove.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvresize.8.in Update man pages 2012-04-11 12:42:10 +00:00
pvs.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
pvscan.8.in pvscan: use major:minor as short form of --major and --minor arg for pvscan --cache 2013-10-22 13:52:18 +02:00
vgcfgbackup.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgcfgrestore.8.in text: miscellaneous comments & message tweaks 2013-06-15 01:28:54 +01:00
vgchange.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
vgck.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgconvert.8.in refactor: rename embedding area -> bootloader area 2013-05-28 12:37:22 +02:00
vgcreate.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgdisplay.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
vgexport.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgextend.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgimport.8.in vgimport: Allow '--force' to import VGs with missing PVs. 2013-02-20 16:37:41 -06:00
vgimportclone.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgmerge.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgmknodes.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgreduce.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgremove.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgrename.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgs.8.in cmdline: Add --ignoreskippedcluster. 2013-10-01 21:20:10 +01:00
vgscan.8.in Update man pages 2012-04-11 12:42:10 +00:00
vgsplit.8.in Update man pages 2012-04-11 12:42:10 +00:00