Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!beartrk!ceilidh!dnichols From: dnichols@ceilidh.beartrack.com (DoN Nichols) Newsgroups: comp.sys.3b1 Subject: Re: swap space Message-ID: <1991Jun11.030216.6155@ceilidh.beartrack.com> Date: 11 Jun 91 03:02:16 GMT References: <1991Jun9.170520.4087@yenta.alb.nm.us> Organization: D and D Data, Vienna, VA. Lines: 35 In article <1991Jun9.170520.4087@yenta.alb.nm.us> dt@yenta.alb.nm.us (David B. Thomas) writes: >How does the 3b1 know where to find swap space, and can it use the "swap >partition" on the second hard disk? > > little david It looks for the special device file "/dev/swap". Here, we see that it is the same major and minor device numbers as /dev/fp001, and probably should be linked, but isn't on this system. If you do so, you should use the permissions and ownership of the "swap" listing. br-------- 1 root root 0, 1 Dec 30 21:42 /dev/fp001 brw-r----- 1 sys sys 0, 1 Dec 30 21:50 /dev/swap You should be able to simply replace "/dev/swap" with a link to the selected partition on your other drive, but I know of no way to have it use both. It would be nice if it did paging from one drive, and swapping to the other, so you could increase the space to handle emergency conditions, since the actual "swap" proceedure is used only under relative emergency conditions, with paging used for normal conditions. You should probably wait a while to see if any reply postings from the "kernel cognosenti" appear with warnings before trying this, since I don't have access to kernel source, and am just speaking from my readings and general understanding. If I gave wrong advice, I'm sure I'll hear about it :-) Good Luck DoN. -- Donald Nichols (DoN.) | Voice (Days): (703) 664-1585 D&D Data | Voice (Eves): (703) 938-4564 Disclaimer: from here - None | Email: --- Black Holes are where God is dividing by zero ---