Re: Fwd: show label for swap partition.

From: Jan Engelhardt
Date: Mon Jan 28 2008 - 15:53:30 EST



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/