Description of problem: missing utility to query swap partition label Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. make a swap partition with parameter -L swap 2. now try to find the label of that swap partition without having to mkswap again 3. Actual results: not able to retrieve the label from a swap partition. mkswap will replace the label but no utility is available to fetch the label. Expected results: e2label should be able to identify that the partition is a swap partition, or another util should be written to read the label from a swap partition. Additional info:
Please, see "man blkid(8)". The e2label util works with ext2/ext3 filesystem only. # blkid /dev/hda3 /dev/hda3: TYPE="swap" LABEL="SWAP-hda3"