[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] Clarification to --permission argument in LVM2 manpages



I spent a while trying to figure out why "--permission w" didn't work
even though the manpage seemed to indicate that it should.   This
manpage patch makes the allowable arguments more obvious.   Attached
rather than inline because my mail client doesn't like tabs.

Please copy me on any reply, I'm not subscribed to the list.

Thanks,
James.
Index: lvchange.8
===================================================================
RCS file: /cvs/lvm2/LVM2/man/lvchange.8,v
retrieving revision 1.15
diff -u -p -r1.15 lvchange.8
--- lvchange.8	5 Dec 2007 22:11:20 -0000	1.15
+++ lvchange.8	3 May 2008 21:16:55 -0000
@@ -14,7 +14,7 @@ lvchange \- change attributes of a logic
 [\-\-monitor {y|n}]
 [\-M/\-\-persistent y/n] [\-\-minor minor]
 [\-P/\-\-partial]
-[\-p/\-\-permission r/w] [\-r/\-\-readahead ReadAheadSectors|auto|none]
+[\-p/\-\-permission r|rw] [\-r/\-\-readahead ReadAheadSectors|auto|none]
 [\-\-refresh]
 [\-t/\-\-test]
 [\-v/\-\-verbose] LogicalVolumePath [LogicalVolumePath...]
@@ -69,7 +69,7 @@ Do not use this if dmeventd is already m
 .I \-M, \-\-persistent y/n
 Set to y to make the minor number specified persistent.
 .TP
-.I \-p, \-\-permission r/w
+.I \-p, \-\-permission r/rw
 Change access permission to read-only or read/write.
 .TP
 .I \-r, \-\-readahead ReadAheadSectors|auto|none
Index: lvcreate.8
===================================================================
RCS file: /cvs/lvm2/LVM2/man/lvcreate.8,v
retrieving revision 1.21
diff -u -p -r1.21 lvcreate.8
--- lvcreate.8	5 Dec 2007 22:11:20 -0000	1.21
+++ lvcreate.8	3 May 2008 21:16:55 -0000
@@ -14,7 +14,7 @@ lvcreate \- create a logical volume in a
 [\-m/\-\-mirrors Mirrors [\-\-nosync] [\-\-mirrorlog {disk|log}] [\-\-corelog]
 [\-R/\-\-regionsize MirrorLogRegionSize]]
 [\-n/\-\-name LogicalVolumeName]
-[\-p/\-\-permission r/rw] [\-r/\-\-readahead ReadAheadSectors|auto|none]
+[\-p/\-\-permission r|rw] [\-r/\-\-readahead ReadAheadSectors|auto|none]
 [\-t/\-\-test]
 [\-v/\-\-verbose] [\-Z/\-\-zero y/n]
 VolumeGroupName [PhysicalVolumePath...]
@@ -113,7 +113,7 @@ The name for the new logical volume.
 Without this option a default names of "lvol#" will be generated where
 # is the LVM internal number of the logical volume.
 .TP
-.I \-p, \-\-permission r/w
+.I \-p, \-\-permission r/rw
 Set access permissions to read only or read and write.
 .br
 Default is read and write.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]