> I heard someone say that they got Windows 95 and Linux to use the same
> swap partition. I would like to do this. Right now, I have a 48 Meg
> swap partition for Win 95, and the same for Linux.
> Anyway I can combine these? My Linux in on a ext2 fs. My Linux swap
> disk is just a basic, normal swap partition.
Just a wild guess; in your rc. scripts, somewhere after swap has been
turned off in the shutdown sequence, try to use mkdosfs to format the
swap partition. That way Win95 can use it. Somewhere in your bootup
sequence, before swap is turned on (swapon), use mkswap to recreate
the swapspace for linux.
Another option is to put the swapfile on the vfat partition during
boot and overwrite/delete the Windows swapfile. See manpages for
mkswap, swapon and dd.
This will slow down both boot and shutdown process, but if you don't
make the switch too often it may work for you. I have *not* tried
this, I don't know if it'll work. Maybe it'll make your system
unbootable, for all I know ... Take care and make sure you have an
alternative way (rescue diskette or partition) to boot your system so
that you can clean up the potential mess. Even if it will work, I'm
sure someone else can come up with a better strategy.
Quote:> Can you run a swap partition on a UMSDOS fs? Is there a way to
> combine these, and save some space?
No, but you can put a swap*file* on an UMSDOS fs. That is probably
the slowest swap-configuration you can come up with in Linux, because
swapping to a file is slower than swapping to a partiton, and because
(I have been told) UMSDOS is a slow filesystem. Why not just put the
swapfile on a (v)fat partition instead?
--
Jon Martin Solaas