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

Re: labeling swap partitions, a question



On Thu, 24 Mar 2011 11:49:58 -0600
Paul E Condon <pecondon@mesanetworks.net> wrote:

> I'm looking into using partition labels on my wheezy boxes. In the
> course of doing this, I notice that one can uses a partition label to
> specify which partition is to be used for swap in the swapon command
> and one can specify a label string to be written onto a partition in
> mkswap. But, I can't find a way to read/verify whether there is
> already a label on an existing swap partition. Is there a way to
> read? How?
> 
> TIA

blkid is your friend. To know more about your friend, try man blkid.


Graham


Reply to: