Hi,

I have the patch ready here. I will upload it in the next uswsusp version:

Thanks a lot for your report.

kix
-- 
Rodolfo García Peñas "kix"
k...@debian.org

kix@kentin:~/src/uswsusp/debian$ diff 
1.0+20120915-3/uswsusp-1.0+20120915/debian/uswsusp.config 
1.0+20120915-4-dev/uswsusp-1.0+20120915/debian/uswsusp.config 
25a26,47
> # This function returns the full path in /dev/disk/by-uuid
> # for a given /dev device. If not found, returns the /dev device.
> function dev_to_uuid
> {
>       local link
>       local path
>       local uuid
> 
>       [ -d /dev/disk/by-uuid ] || return
> 
>       uuid=$tmpswap
>       for path in /dev/disk/by-uuid/*; do
>               link=$(readlink -f "$path")
>               if [ "$link" = "$tmpswap" ]; then
>                       uuid=${path}
>                       break;
>               fi
>       done
> 
>       tmpswap=$uuid
> }
> 
30a53
>       tmpswap=
38,39c61,63
<       for i in `sort -nr -k 3 /proc/swaps | awk '$2!="Type" '"$NO_FILE"' 
{print $1}'`; do
<               SWAPLIST=${SWAPLIST}${KOMMA}${i}
---
>       for tmpswap in `sort -nr -k 3 /proc/swaps | awk '$2!="Type" 
> '"$NO_FILE"' {print $1}'`; do
>               dev_to_uuid
>               SWAPLIST=${SWAPLIST}${KOMMA}${tmpswap}
42c66
<                       SWAPFIRST=${i}
---
>                       SWAPFIRST=${tmpswap}
kix@kentin:~/src/uswsusp/debian$


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to