mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 08:35:25 +00:00
added a comment
This commit is contained in:
parent
0c3d35b650
commit
819fb339d8
1
inxi
1
inxi
|
@ -3143,6 +3143,7 @@ get_partition_data()
|
||||||
|
|
||||||
# now we'll handle some fringe cases where irregular df -hT output shows /dev/disk/.. instead of
|
# now we'll handle some fringe cases where irregular df -hT output shows /dev/disk/.. instead of
|
||||||
# /dev/h|sdxy type data for column 1, . A_PARTITION_DATA[6]
|
# /dev/h|sdxy type data for column 1, . A_PARTITION_DATA[6]
|
||||||
|
# Here we just search for the uuid/label and then grab the end of the line to get the right dev item.
|
||||||
for (( i=0; i < ${#A_PARTITION_DATA[@]}; i++ ))
|
for (( i=0; i < ${#A_PARTITION_DATA[@]}; i++ ))
|
||||||
do
|
do
|
||||||
IFS=","
|
IFS=","
|
||||||
|
|
Loading…
Reference in a new issue