Skip to contentSkip to conversation

patch1/4: lvm manpages

PATCH Christoph Anton Mitterer 2 participants 3 messages Aug 19, 2010 – Aug 20, 2010

lore
Share & tools
lore
#0 lore raw

Hi.

Attached would be several patches, that (IMHO) improve the lvm(8) manpage:

1) lvm.8.empty_LV.patch
It seems that the current "Where a list of VGs is required but is left empty, a list of all VGs will be substituted." is also true for LVs (checked it with lvdisplay, which seems to lists all LVs).
If this is true, add the patch, to reflect this in the documentation

Cheers,
Chris.

lvm.8 +2 -2
@@ -24,8 +24,8 @@
 .LP
 Where commands take VG or LV names as arguments, the full path name is
 optional.  An LV called "lvol0" in a VG called "vg0" can be specified
-as "vg0/lvol0".  Where a list of VGs is required but is left empty, 
-a list of all VGs will be substituted.  Where a list of LVs is required
+as "vg0/lvol0".  Where a list of VGs or LVs is required but left empty, 
+a list of all VGs or LVs will be substituted.  Where a list of LVs is required
 but a VG is given, a list of all the LVs in that VG will be substituted.
 So "lvdisplay vg0" will display all the LVs in "vg0".
 Tags can also be used - see \fBaddtag\fP below.
#1 lore raw

Dne 20.8.2010 01:58, Christoph Anton Mitterer napsal(a):

Quoted 6 lines

Hi.

Attached would be several patches, that (IMHO) improve the lvm(8) manpage:

Quoted 6 lines

1) lvm.8.empty_LV.patch
It seems that the current "Where a list of VGs is required but is left empty, a list of all VGs will be substituted." is also true for LVs (checked it with lvdisplay, which seems to lists all LVs).
If this is true, add the patch, to reflect this in the documentation

lvdisplay - with empty list will substitutes with all VGs - thus effectively display all LVs from all VGs - but it doesn't mean there is some substitution for LVs. It's the effect of command that it displays all LVs from given VG. Lots of commands scans for all LVs in given VGs (i.e. vgchange).

So this patch is rejected.

Zdenek

#2 lore raw
Quoted 5 lines · Zdenek Kabelac

lvdisplay - with empty list will substitutes with all VGs - thus effectively
display all LVs from all VGs - but it doesn't mean there is some substitution
for LVs. It's the effect of command that it displays all LVs from given

VG.

Quoted 1 line

Lots of commands scans for all LVs in given VGs (i.e. vgchange).

Well... I still feel that there's something missing somewhere,... nevertheless,... that's anyway just perfectionism =)

Cheers,
Chris.