[Charset ISO-8859-1 unsupported, filtering to ASCII...] >T. Horsnell wrote: >>>I see that officially, e2label can not label a swap partition. So, I am >>>confused by what I see in my fstab: >>>LABEL=SWAP-i2o/hda3 swap swap defaults 0 0 >>> >>>I have an Adaptec 2010S ZCR card that likes to play with my mind, so I >>>have found that using labels on my partitions lets me win the game with >>>the ZCR card. >>> >>>The above entry from the fstab is from a fresh install of FC3. If >>>e2label doesn't label swap partitions, how did the above entry occur? >>>And, how can I guarantee that my the swap I want used is the one that >>>will be used? >>> >> >>See 'man mkswap' >I think I am missing something, I don't see anything about the above >type of labels in the mkswap man page. I tried-changing >LABEL=SWAP-i2o/hda3 to LABEL=SWAP-i2o/hdb3, and the subsequent swapon failed >[root@sm init.d]# /sbin/mkswap -c -v1 /dev/i2o/hdb3 >Setting up swapspace version 1, size = 1612148 kB >... >[root@sm init.d]# /sbin/swapon -av >swapon on LABEL=SWAP-i2o/hdb3 >swapon: cannot find the device for LABEL=SWAP-i2o/hdb3 > >Did I miss something in the man page? mkswap -L enables you to label a swap partition with whatever label you want. In your case its been labeled as SWAP-i2o/hda3 and presumably is physically on partition /dev/hda3. You need to do: /sbin/mkswap -c -v1 -L SWAP-i2o/hdb3 /dev/i2o/hdb3 to label your new swap partition, then you need to edit /etc/fstab to include a line like: LABEL=SWAP-i2o/hdb3 swap swap defaults 0 0 then 'swapon -a' should grab them both. Cheers, Terry. > >eric > >-- >fedora-list mailing list >fedora-list@xxxxxxxxxx >To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list >