The label/uuid finder in nash doesn't work with swap partitions.
Created attachment 117923 [details]
fix for LABEL= matching cut&pasto in swsuspdev
Probably not a fix for the bug, but this at least silences the incorrect
attempt to readlink a LABEL= swap device.
Note that for information about filesystems you can use the /sbin/blkid command
(the mount and swapon use same method for work with LABELs -- so it's well
tested I hope reliable way).
# /sbin/blkid -l -t LABEL=swap | cut -d : -f 1
--> returns a first device where LABEL="swap" (same way you can use for UUID)
/sbin/blkid -l -t TYPE=swsuspend | cut -d : -f 1
--> returns a first device where filesystem type is "swsuspend" (S1SUSPEND or
It might help you improve your initrd scripts.