lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fwd: show label for swap partition.

On Jan 28 2008 20:10, Zan Lynx wrote:
>On Mon, 2008-01-28 at 14:58 -0500, Jason Price wrote:
>> I apologize if this is the wrong forum. Please CC me on replies.
>>
>> A admin accidentally deleted the swap line from the fstab file. We
>> mount the swap filesystem via labels. However, there seems to be no
>> way to list the label on an existing swap partition, via the command
>> line swap tools (mkswap, swapon/off, etc)
>>
>> Is this blindness on my part, or should there be an analog to e2label
>> for swap partitions?

# blkid /dev/mapper/swap0
swap0: UUID="502e549d-d8b4-4c08-9b27-3d3e9cefed92" TYPE="swap"

Works.



\
 
 \ /
  Last update: 2008-01-28 21:55    [W:0.076 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site