Peter Rajnoha
4b611bb816
report: lv_permissions: display read-only/read-only-override instead of blank when LV is not writeable
...
Before this patch:
$ lvs -o name,lv_attr,lv_permissions
LV Attr LPerms
root -wi-ao---- writeable
swap -wi-ao---- writeable
lvol0 -Ri-a-----
lvol1 -ri-a-----
lvol2 -wi-a----- writeable
lvol3 -ri-------
With this patch applied:
$ lvs -o name,lv_attr,lv_permissions
LV Attr LPerms
root -wi-ao---- writeable
swap -wi-ao---- writeable
lvol0 -Ri-a----- read-only-override
lvol1 -ri-a----- read-only
lvol2 -wi-a----- writeable
lvol3 -ri------- read-only
("read-only-override" is displayed if the "writeable" permission
is overriden based on "activation/read_only_volume_list" lvm.conf
setting)
2014-10-23 10:18:29 +02:00
..
2014-09-30 13:11:58 +02:00
2014-10-07 01:15:43 +01:00
2014-07-17 16:16:45 +02:00
2014-10-02 13:06:46 +02:00
2014-10-02 11:17:41 -05:00
2014-08-25 16:14:40 +02:00
2014-10-13 18:15:41 +01:00
2014-09-15 21:33:53 +01:00
2014-04-30 10:26:30 +02:00
2014-10-08 11:03:08 +02:00
2014-10-14 18:12:15 +01:00
2014-01-08 02:13:13 +00:00
2014-10-14 18:12:15 +01:00
2012-08-23 14:37:20 +02:00
2014-09-24 10:54:48 +02:00
2014-09-24 10:54:47 +02:00
2014-06-17 16:27:20 +02:00
2014-10-14 18:12:15 +01:00
2014-09-24 10:48:02 +02:00
2014-08-19 14:33:06 +02:00
2014-09-28 13:49:01 +02:00
2014-07-04 15:40:17 +02:00
2014-09-24 15:24:41 +02:00
2014-06-18 14:43:13 +02:00
2014-10-23 10:18:29 +02:00
2014-09-15 21:33:53 +01:00
2014-07-17 16:17:44 +02:00
2014-08-29 13:11:34 +02:00
2014-04-30 10:26:30 +02:00
2014-03-12 19:12:34 +01:00
2014-04-30 10:26:30 +02:00
2014-09-30 13:11:58 +02:00