$ cat /etc/uswsusp.conf
# /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both
resume device = UUID=468553ea-c737-4d2a-859c-9b0720c89d1a
splash = y
compress = y
early writeout = y
image size = 1908239564
RSA key file = /etc/uswsusp.key
that UUID is swap
$ sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000acc4b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ 83 Linux
/dev/sda2 1217 2189 7815622+ 82 Linux swap / Solaris
/dev/sda3 2190 38913 294985530 5 Extended
/dev/sda5 2190 38913 294985498+ 83 Linux
$ ls /dev/disk/by-uuid/ -lah c737-4d2a- 859c-9b0720c89d 1a -> ../../sda2 4a47-4484- 8ff5-3b1987ed58 13 -> ../../sda5 b3e6-4e1d- b4ad-e6cd704788 b2 -> ../../sda1
total 0
drwxr-xr-x 2 root root 120 2008-09-27 08:55 ./
drwxr-xr-x 6 root root 120 2008-09-27 08:55 ../
lrwxrwxrwx 1 root root 10 2008-09-27 08:48 468553ea-
lrwxrwxrwx 1 root root 10 2008-09-27 08:55 48D1-83BF -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-09-27 08:48 763f105e-
lrwxrwxrwx 1 root root 10 2008-09-27 08:48 a8aa4adb-
$ cat /etc/uswsusp.conf conf(8) -- Configuration file for s2disk/s2both c737-4d2a- 859c-9b0720c89d 1a
# /etc/uswsusp.
resume device = UUID=468553ea-
splash = y
compress = y
early writeout = y
image size = 1908239564
RSA key file = /etc/uswsusp.key
that UUID is swap
$ sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000acc4b
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ 83 Linux
/dev/sda2 1217 2189 7815622+ 82 Linux swap / Solaris
/dev/sda3 2190 38913 294985530 5 Extended
/dev/sda5 2190 38913 294985498+ 83 Linux