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

Re: Crear fichero swap.



El Wed, Sep 18, 2002 at 09:58:50AM -0700, Jose Luis Alarcon disidio iscribir:

Guenas

> Quiero crear un fichero swap, que aunque no sea exactamente igual de 
> efectivo que una particion, supongo que sera mejor tenerlo que no 
> tenerlo. 

Primero has de crear el fichero con dd

dd if=/dev/zero of=ficherin bs=1024 count=256000

Luego hay que "formatearlo" para swap

mkswap ficherin

Y después activarlo

swapon ficherin

Aunque en este último caso lo suyo es meterle mano al /etc/fstab y
añadir la entrada adecuada

/rutaalficherin/ficherin none swap sw 0 0

Saludines
--
101 Things you do NOT want your System Administrator to say.
 92. I don't care what he says, I'm not having it on my network
----------------------------------------------------------------------
Andres Herrera <aherrerm@escomposlinux.org>
Linux Reg. User #66054
----------------------------------------------------------------------

Attachment: pgpZNxypyKV4h.pgp
Description: PGP signature


Reply to: