home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!destroyer!mudos!mudos!not-for-mail
- From: mju@mudos.ann-arbor.mi.us (Marc Unangst)
- Newsgroups: comp.unix.sys5.r4
- Subject: Re: adding SWAP after the fact...
- Date: 1 Jan 1993 21:04:11 -0500
- Organization: The Programmers' Pit Stop, Ann Arbor MI
- Lines: 19
- Message-ID: <1i2t6rINNdkn@mudos.ann-arbor.mi.us>
- References: <C06q73.736@shyguy.lonestar.org>
- NNTP-Posting-Host: mudos.ann-arbor.mi.us
-
- In article <C06q73.736@shyguy.lonestar.org> bmyers@shyguy.lonestar.org (bob myers) writes:
- >Anyway, how do i now add in a swap file to take care of the problem?
- >I know how to create one on a Sun Sparc running BSD (SunOS 4.1.2), but
- >it's not all that clear on how to do it here under a SVR4 system.
-
- Use "dd if=/dev/zero of=/path/to/swapfile bs=10k size=xxx" with the
- appropriate size paramater to create the swap file. Then, do "swap -a
- /path/to/swapfile 0 size_in_512_blocks" as root.
-
- I'd be careful running without a swap partition, though. When SVR4
- panics, it dumps a core image of the kernel into the swap partition.
- I'm not sure what happens without a swap partition, but it might well
- just overwrite whatever filesystem is there...
-
- --
- Marc Unangst, N8VRH | "Of course, in order to understand this you
- mju@mudos.ann-arbor.mi.us | have to remember that the nucleus of the atom
- | is squishy."
- | -W. Scheider, from a Physics lecture
-