[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux on top of win95



> 	 I believe that you really should have a swap partion

This is not true.  To begin with, you don't need swap space if you have
enough memory.  For linux, swap is just an extra bunch of (slow) memory
that can be used if need be.  If it is not there, and enough RAM is
available, that is not a problem.  Secondly, you can do with a swap file
instead of partition.  To use a swap file of 8 MB, you would do
something like ( from the mkswap man page)

              # dd if=/dev/zero of=swapfile bs=1024 count=8192
              # mkswap swapfile 8192
              # sync
              # swapon swapfile

You can put an item like

/swapfile	none	swap	sw	0	0

in /etc/fstab to activate the swap file every time the system boots
(assuming swapfile is in / ).  However it is true that a swap partition
is definitively faster than a file.

Eric Meijer

-- 
 E.L. Meijer (tgakem@chem.tue.nl)          | tel. office +31 40 2472189
 Eindhoven Univ. of Technology             | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax    +31 40 2455054


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: