Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: deleting swap files



Surely with this approach you end up seeing the swap volume mounted?

Out of interest what sort of performance difference is there between a
partition with a 'swap' filesystem and a dedicited partition for the
swap files. Theoretically the former would be better as it has one
less layer of calls to go through. If anyone has been able to
compare the two approaches, I would be interested in knowing.

Andre

On Sunday, June 24, 2001, at 07:16 PM, Mark Weaver wrote:

You don't need any code just edit your /etc/rc file to point to a disk or partition that you plan to use just for swap. Here's mine on my OS X box.
It should be the same for darwin....

#swapdir=/private/var/vm #This is the original setup.
swapdir=/Volumes/swap/

You also have to edit fstab to mount the disk or partition on boot.

If this is the case, is there any swap partition code that exists
for BSD (which ever version), that could be ported to Darwin?


--
mailto:email@hidden


References: 
 >Re: deleting swap files (From: Mark Weaver <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.