On Tue, Apr 19, 2005 at 08:54:57AM +0200, Romain wrote: > Under Gentoo, you can use the command swapon, > > if its an ide drive swapon /dev/hda2 > > scsi drive : swapon /dev/sda2 > well that is only the half truth, linux relies on preformated swap devices, so you have to issue (for example)
mkswap /dev/sda2 you could make some sort of boot script like (simplyfied) (i would not put /dev/sda2 in fstab because it will fail if the swap device is not formated) mkswap /dev/sda2 swapon /dev/sda2 anyhow, I don't know if solaris uses the, swap device raw, or preformated. If it uses the device raw, then you just need, the script for linux und leave the solaris settings as they are. If it is preformated, you will have to preformat it before solaris tries to use it. regards klaus -- [email protected] mailing list
