Re: Where to place swap file according to FSSTND?
On Tue, Jun 06, 2000 at 09:04:44PM +0200, Ralf G. R. Bergs wrote:
> Hi there,
>
> I have only a small root FS (30 megs,) and I don't want a swap part'n
> (not very flexible,) therefore I use a swap file.
>
> Which is the "proper" place to place the swap file? Is it recommended
> to make a link to /dev/swap?
I don't know about that. I just put an extra swapfile in
/var/local/swapfile. Use dd to create it, mkswap to format it, then add
an entry to fstab to mount it. The mkswap man page has a good
explanation... Many recommend putting the swapfile on a disk that sees
less activity for better performance. Not sure if swap partitions are
"faster" than swap files, possibly a little.
--
__ __ _ _ __ ___ ____ ____
/ / / /___ (_)____ / | / / / |_ ______ _____ / __ \ ____ / / /
/ / / / __ \/ / ___/ / |/ / / /| | | / / __ \/ ___/ / / / / / __ \/ / /
/ /_/ / / / / / / / /| / / ___ | |/ / /_/ / / / /_/ / / / / / /_/
\____/_/ /_/_/_/ /_/ |_/ /_/ |_|___/ .___/_/ \___\_\/_/ /_/_(_)
/_/
Reply to: