Changes between Version 4 and Version 5 of Ticket #696, comment 1
- Timestamp:
- Jun 5, 2013, 9:39:19 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #696, comment 1
v4 v5 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). 1 If we have for example /dev/mapper/XXXXX-YYYYY then %s=XXXXX and grep /dev/mapper/%s- will work. 2 3 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/thealiasdefined (see my comment3). 2 4 3 5 '''Concerning awk''', shouldn't it be the following ?