Changes between Version 3 and Version 4 of Ticket #696, comment 1
- Timestamp:
- Jun 5, 2013, 9:37:43 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #696, comment 1
v3 v4 1 Sorry, it was right, if we have for example /dev/mapper/VGDD0-LVDD0 then %s=VGDD0.1 If we have for example /dev/mapper/XXXXX-YYYYY then %s=XXXXX and grep /dev/mapper/%s- will work, but it will not work if we get a wwid or an alias in /dev/mapper (example for multipath), because there is no '-' in /dev/mapper/zzzzzzzzz (see my comment3). 2 2 3 But, after awk, shouldn't it be the following ?3 '''Concerning awk''', shouldn't it be the following ? 4 4 5 5 (print instead of printf, and I added a third VG for the third %s)