how to create label fo swap space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux