Sys V r2 version 2 swap bug
Bill Stewart HO 4K-435 x0705
stewart at houxf.UUCP
Sat Jul 13 08:14:22 AEST 1985
[... Has anyone been able to change swap areas?...]
Yes, I do it all the time. My system boots up with swap on the
root drive, which is boring; in the /etc/rc I do the following:
swap -a /dev/dsk/1s1 0 70000 # Add 70Kblocks swap on 1s1
swap -d /dev/dsk/0s0 14320 # Remove 0s0 swap.
swap -l # List what's left
You have to be careful of two things -
1) always allocate new swap space before you zap the
old swap space, so you have SOME swap space.
2) be careful if you delete a swap area when something's
using it. I haven't dug around enough to really
understand what happens, but I normally remove swap
areas only when there's not enough running to swap
anyway.
--
Bill Stewart ho95c!wcs AT&T Bell Labs, Holmdel NJ
HO 4K-435 x0705 (201-949-0705)
{allegra, ucbvax!ihnp4, decvax!harpo}!houxf!stewart
More information about the Net.bugs.usg
mailing list