🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #217

SwapFile.

#217
From: cyk
Date: Wed, 29 Jul 1992 00:29
47 lines
2222 bytes
Hi guys,

   I have been trying to designate the 240 MB internal drive, which
is not my boot device, as to be the swap device without success.  Can
anybody give me some help?   Thanks in advance.

   A little bit more detail about my hardware configuration and the
unsuccessful attemp I tried are given in the following:

     1) My NeXT is equipped with one 220 MB internal drive and
        one 520 MB external drive.  The external drive has a SCSI
        ID of 0; and it's the boot device.  The internal drive 
        has a SCSI ID of 1; and it's mounted at "/local".

     2) The internal drive currently does not contain any data
        other than a copy of the system software.  It acts as a
        backup boot device in case the external drive fails. 

        In order to  better utilize the internal drive, I would
        like to put the swap file on it.  

     3) I made the following unsuccessful attempt:

         Step 1: My internal drive is mounted at /local.
 
         Step 2: I deleted /local/private/vm/swapfile.
 
         Step 3: I modified the /etc/swaptab file to
                 contain a single entry looking like:
 
                 /local/private/vm/swapfile .....
 
         Step 4: I rebooted the machine in verbose
                 mode; and, observed a message like:
 
                 mach_swapon: /local/private/vm/swapfile failed.
 
         Step 6: After the machine was up, I logged on
                 and observed that /local/private/vm/swapfile
                 was not created.  
 
         Step 7: I backed out the change to /etc/swaptab,
                 rebooted the machine in verbose mode and
                 mach_swapon was successful.

          
                             ------  Chi Ku
Technical Details
Message-ID: <776@tdat.teradata.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!tdat!tos28.teradata.com!cyk

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!tdat!tos28.teradata.com!cyk
From: cyk@tos28.teradata.com
Newsgroups: comp.sys.next.software
Subject: SwapFile.
Keywords: /etc/fstab /private/vm/swapfile /etc/swaptab
Message-ID: <776@tdat.teradata.COM>
Date: 29 Jul 92 00:29:55 GMT
Sender: news@tdat.teradata.COM
Reply-To: cyk@tos28.teradata.com ()
Distribution: world
Organization: ATT/NCR Teradata Business Unit
Lines: 48
Originator: cyk@tos28