Re: how to create label fo swap space

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



mcclnx mcc spake the following on 5/9/2007 11:50 AM:
> 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
> 
mkswap -L SWAP-sdb3 /dev/sdb3

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

_______________________________________________
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