[CentOS] how to create label fo swap space

Wed May 9 18:50:05 UTC 2007
mcclnx mcc <mcclnx at yahoo.com.tw>

I just add a partition /dev/sdb3 and use "mkswap
/dev/sdb3" to make it swap space.  How can I label the
/dev/sdb3 like "SWAP-sdb3"?

what I want is put on /etc/fstab as entry like:

LABEL=SWAP-sdb2         swap                    swap  
 defaults        0 0

LABEL=SWAP-sdb3         swap                    swap  
 defaults        0 0


設定安全圖章,保護您的 Yahoo!奇摩帳號不被駭客盜用!