Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Confused? swap partitions huh!?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Confused? swap partitions huh!?
Authored by: patpro on May 25, '01 07:29:05AM

for further info you should take a look at http://www.peak.org/~luomat/articles/FAQs/Swapfile_Swapdisk/index.html

As OSX swap mechanism is inherited from NeXT's one, it's of great interest to read these docs.



[ Reply to This | # ]
Confused? swap partitions huh!?
Authored by: Earl on Feb 08, '02 07:31:25AM

Correct.

Also, go to http://www.darwinfo.org and search the developers and users forums there for fstab and swapfile.

One of the developers plainly states that fstab does not do what you might think it does in Darwin, and explains why the methods involving changes to /etc/rc - while not what they originally had in mind - are AOK.

The idea of just specifying it in fstab would basically work for any of the other Unices I've seen - wait - they all do that but Darwin! :)



[ Reply to This | # ]
Confused? swap partitions huh!?
Authored by: Earl on Feb 08, '02 07:37:45AM

It's also important to stress that Darwin does not support swap partitions, only swapfiles. Also, Darwin's swapfiles are managed dynamically, so they can grow or shrink as needed - in about 80MB chunks.

The man pages might work for application level stuff, but for system's stuff, go to the Apple developer pages and the darwinfo site. As is often the case, the man pages aren't keeping up. (And I don't knock Apple for this. The heralded Linux - which I also use and like - is rife with "note this manpage is no longer being maintained...")



[ Reply to This | # ]