D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Viglen Swap - I hate UUID's!

 

I'm trying to set up a swap file on my viglen but not getting anywhere
viglen@mpc-xubuntu:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda1
UUID=8d18d78d-5eb0-469f-b9ca-77e03b43db2c /               ext3    
defaults,errors=remount-ro 0       1
# /dev/hda5
UUID=8d97fd08-8ea5-4d49-a2e5-da504e59261f none            swap    sw              
0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
viglen@mpc-xubuntu:~$ sudo mkswap -U 8d97fd08-8ea5-4d49-a2e5-da504e59261f
[sudo] password for viglen:
mkswap: error: Nowhere to set up swap on?
Usage: mkswap [-c] [-v0|-v1] [-pPAGESZ] [-L label] [-U UUID] /dev/name 
[blocks]


any ideas how to get swap with UUID's - which just seem to cause me endless 
trouble for some reason
Tom te tom te tom


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html