[CentOS] how to create label fo swap space

mcclnx mcc

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


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

Thanks


      ____________________________________________________________________________________
設定安全圖章,保護您的 Yahoo!奇摩帳號不被駭客盜用!
http://tw.info.yahoo.com/seal/index.html



More information about the CentOS mailing list