Lines 38-44
find_real_device() {
Link Here
|
38 |
local device="${1}" |
38 |
local device="${1}" |
39 |
local out= |
39 |
local out= |
40 |
case "${device}" in |
40 |
case "${device}" in |
41 |
UUID=*|LABEL=*) |
41 |
UUID=*|LABEL=*|PARTUUID=*) |
42 |
local real_device="" |
42 |
local real_device="" |
43 |
local retval=1 |
43 |
local retval=1 |
44 |
|
44 |
|
Lines 69-75
find_real_device() {
Link Here
|
69 |
} |
69 |
} |
70 |
|
70 |
|
71 |
get_device_fstype() { |
71 |
get_device_fstype() { |
72 |
# This function expects a real or UUID=,LABEL= based reference |
72 |
# This function expects a real or UUID=,LABEL=,PARTUUID= based reference |
73 |
# that can be resolved to a real device node. Using this |
73 |
# that can be resolved to a real device node. Using this |
74 |
# function in combination with ZFS may lead to unexpected behaviour. |
74 |
# function in combination with ZFS may lead to unexpected behaviour. |
75 |
local device=$(find_real_device "${1}") |
75 |
local device=$(find_real_device "${1}") |