Messages in this thread | | | Date | Mon, 28 Jan 2008 21:53:18 +0100 (CET) | From | Jan Engelhardt <> | Subject | Re: 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.
| |