[CentOS] Re: how to create label fo swap space

Wed May 9 18:56:07 UTC 2007
Scott Silva <ssilva at sgvwater.com>

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!!!!