On 2014-03-18 14:41 (GMT-0400) James Knott composed:
Felix Miata wrote:
I'm pretty sure if you want a swap drive labeled you need to do it yourself. I don't think there's any way to get YaST to do it.
Well, something put the old drive in there originally.
YaST would have put something in fstab at installation time, most likely using /dev/disk/by-id/yadayadayadayada, which is why that one would be the one currently in use.
Also, how does swap find the new one, where it's apparently working?
Swap doesn't "find" anything. The kernel finds whatever swap is enabled. Until something creates swap on the new HD, and something puts that swap space into fstab, or you execute swapon to turn it on, there will be no swap used on the new HD. If you want swap to have a label, you have to do it yourself. e.g. mkswap -L knottnewswappartlabel /dev/sdX#(#)' Once that's done you have the option to put knottnewswappartlabel into fstab and have the kernel find it automatically at boot time. e.g. /dev/disks/by-label/knottnewswappartlabel swap swap defaults 0 0 or LABEL=knottnewswappartlabel swap swap defaults 0 0 Of course, kernel will still use the swapper on the old HD until you excise the fstab entry for it, and turn it off with swapoff, or reboot. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org