Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: grr@cbmvax.commodore.com (George Robbins)
Subject: Re: Swap space question...
Date: 9 Aug 90 20:25:14 GMT	[thread overview]
Message-ID: <13733@cbmvax.commodore.com> (raw)
In-Reply-To: 10063@hubcap.clemson.edu

In article <10063@hubcap.clemson.edu> hubcap@hubcap.clemson.edu (System Janitor) writes:
> With all this talk about swap going on, what do you think of this?...
> My config file looks like:
> 
> config vmunix	root on ra0a  swap on ra0b and ra1b and ra2b  dumps on ra2b  
> 
> My fstab has:
> /dev/ra1b::sw:0:0:ufs::
> /dev/ra2b::sw:0:0:ufs::
> 
> And I've got ``swapon -a'' in /etc/rc...
> 
> But at boot time (or anytime I type ``swapon -a'' or ``swapon /dev/ra1b'')
> I get:      ``/dev/ra1b: No such device''

Interesting question...  The actual swap configuration from the config file
goes into /sys/{MIPS/}swapvmunix.c, and puts hard coded major and minor numbers
in a table.  You get the "No such device" if you're adding an area already in
use, but might also get it if the partition wasn't allocated or if you don't
have an appropriate /dev entry for the device - it may be that swapon makes
some references to the /dev entry before issuing the "swapon" system call.

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr@cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)


  reply	other threads:[~1990-08-09 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-08-08 16:54 Swap space question Ross Garrett Cutler
1990-08-08 18:51 ` George Robbins
1990-08-09 14:09   ` System Janitor
1990-08-09 20:25     ` George Robbins [this message]
1990-08-15 23:37     ` wright
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox