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

swapdir | 30 comments | Create New Account
Click here to return to the 'swapdir' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: Mike Klein on Oct 16, '02 10:49:20AM

The hint the other day worked beautifully for me. On my home machine, I have
two internal drives. I put Application and Swap on the second drive. You need to
do the Labels= business to defice the mount point and then an niload to make it
active. After this the entry for swapdir should look like /Swap/.vm.

[ Reply to This | # ]
Authored by: norby on Nov 05, '02 02:57:09PM

1) the LABELS=business stuff that is covered in the fstab and autodismmount man page unfortunately breaks mount (i.e. mount -vat hfs).

2) There is no such thing as a raw swap partition (for the person who suggested it in another thread) in darwin at this point (perhaps there used to be, but there is no longer. There is no swapon command to enable it, and very little mention of it in man pages, OS headers, etc.

3) Given that you are relying on autodiskmount to mount your volume as /Swap, it seems to me that you might as well let it mount as /Volumes/Swap and just symlink /Swap to /Volumes/Swap for your edification.

4) Seems that the flat file (fstab) controls everything. If that file is there w/ the LABEL stuff, mount -vat hfs breaks. If you move that file aside (even after loading these into NetInfo), autodiskmount does not mount the partition as desired. So ...

5) That is all :)

[ Reply to This | # ]