[CentOS] swap labeling annoyance

Jorge Fábregas jorge.fabregas at gmail.com
Fri Jan 6 01:00:29 UTC 2012

On 01/05/2012 06:14 PM, m.roth at 5-cent.us wrote:
> mkswap -L SWAP-sda3 /dev/sda3


I didn't know you could create a label within the mkswap command.  I
always used "e2label" as in:

e2label /dev/sda2 myswap

Try it with e2label just in case.  Also, are you able to activate the
swap using just the block device as reference?


More information about the CentOS mailing list