Comment 27 for bug 267141

Revision history for this message
Fernando Miguel (fernandomiguel) wrote : Re: [Bug 267141] Re: suspend button disappearsafterpm-utils upgradedto1.1.2.4-1ubuntu2

$ ls /dev/disk/by-uuid/ -lah
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-c737-4d2a-859c-9b0720c89d1a -> ../../sda2
lrwxrwxrwx 1 root root 10 2008-09-27 08:55 48D1-83BF -> ../../sdb1
lrwxrwxrwx 1 root root 10 2008-09-27 08:48 763f105e-4a47-4484-8ff5-3b1987ed5813 -> ../../sda5
lrwxrwxrwx 1 root root 10 2008-09-27 08:48 a8aa4adb-b3e6-4e1d-b4ad-e6cd704788b2 -> ../../sda1

$ 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