On Sun, 2005-08-14 at 20:49 -0600, Charles Curley wrote: > How do I find out the label of a swap partition? > > I'm working on bare metal recovery > (http://www.tldp.org/HOWTO/Linux-Complete-Backup-and-Recovery-HOWTO/index.html). Now > that Fedora uses labels to identify swap partitions as well as file > system partitions, I need to learn what the swap partition label is so > that the bare metal recovery scripts can properly make the swap > partitions. > > I can learn the labels of the file system partitions with mount -l, > but that does not help with swap partitions. > > I could parse /etc/fstab, but that may not be accurate, e.g. I changed > my fstab to use the device name for swap, but there is a label on the > partition. Also, with the current problem of garbage labels for the > swap partitions, it is hazardous anyway. > use e2label. the man page will help > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list