-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2008-07-21 at 06:42 -0700, Randall R Schulz wrote:
partitions with partition type codes that identify them as swap partitions?
Yeess... How about... using labels? :-))
LABEL=160_swap swap swap pri=42 0 0
You just have to give a label to the swap partition. See "man mkswap".
Thanks. It's odd that I couldn't conjur up a Google search that would show this. Obviously, I should have checked the mkswap man page, too.
So I took the swap off-line with swapoff, re-ran mkswap with the -L option, modified my fstab and ran swapon -a, but it failed with this:
% swapon -a swapon: cannot canonicalize /dev/disk/by-label/Swap_10_3: No such file or directory swapon: cannot stat /dev/disk/by-label/Swap_10_3: No such file or directory
Curious!
The system did not yet know about the label on that disk slice. So on a hunch I ran /etc/init.d/boot.udev force-reload and then tried the swapon again and this time it worked.
I'll have to remember that trick.
By the way, this is for a 10.3 installation. It didn't seem like the kind of thing that would be changing a lot from release to release.
No... but you know, linux moves a lot, you can't leave anything for granted. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIhJf6tTMYHG2NR9URAtm1AJ4uX7VEwoWPyI9n3VbMsAX7RbIVdQCfZtPS s+owXIVGsfZXA+oePQJiloM= =K1Jm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org