two swapping devices for a Sun 4.1.1 kernel

Karl Anderson karl at thuja.gsfc.nasa.gov
Sun Jun 23 09:48:25 AEST 1991


In article <1991Jun21.211100.9073 at risky.ecs.umass.edu>,
breck at ganzer.ecs.umass.edu (Liam Breck) writes:
|> Hi all
|> 
|> Just putting in a custom kernel, but SunOS config doesn't like:
|> 
|> config	vmunix	  root on sd0a swap on sd0b and sd1b dumps on sd1b
|> 
|> If I take out the "and sd1b" I get no complaints.  I thought this
|> was the standard way to tell the kernel to swap on two devices!
|> 
|> So someone please tell me and the net how it's done!
|> -- 
|> Liam Breck     breck at umvlsi.ecs.umass.edu

The standard way to add a swap device under SunOS is with the 
swapon(8) command.  It can be done from the command line or
in /etc/rc.local with "swapon /dev/r<add'l-swap-partition>",
or by placing an entry in /etc/fstab of the form

/dev/r<add'l-swap-partition>	swap	swap	rw 0 0

and executing "swapon -a".
--
Karl A. Anderson		| Internet: karl at forest.gsfc.nasa.gov
NASA/GSFC code 923 (STX)	| voice: (301) 286-3815
Greenbelt, MD 20771		| #include "std_disclaimer"



More information about the Comp.unix.admin mailing list