Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: more on unix swap space problem Keywords: swap fstab unix Message-ID: <17245@mimsy.UUCP> Date: 2 May 89 23:50:41 GMT References: <171@larry.sal.wisc.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 20 In article <171@larry.sal.wisc.edu> jwp@larry.sal.wisc.edu (Jeffrey W Percival) writes: [BSDish system] >The Question: is the :sw: entry in fstab truly needed, or is >the swap info compiled into the kernel? Both. The kernel has compiled into it the list of devices it *might ever* swap on. Initially, it swaps/pages/allocates_backing_store_from only the first; the others are added with the vswapon() system call, made by /etc/swapon, which is normally run as swapon -a from /etc/rc. With -a, swapon reads fstab to find :sw: entries and calls vswapon() with the devices found in this way. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris