find_real_device() {
local DEVICE="${1}"
case "${DEVICE}" in
UUID\=*|LABEL\=*)
UUID\=*|LABEL\=*|PARTUUID\=*)
local REAL_DEVICE=""
local retval=1
if [ "${NORESUME}" != '1' ] && [ -n "${REAL_RESUME}" ]
then
case "${REAL_RESUME}" in
LABEL=*|UUID=*)
LABEL=*|UUID=*|PARTUUID=*)
RESUME_DEV=""
retval=1
while [ "${got_good_root}" != '1' ]
do
case "${REAL_ROOT}" in
ROOT_DEV=""