|
|
BAD FIX!!!
# This fscks the disks and mounts them correctly
BAD FIX!!!
Using a separate partition, period for swap is stupid. :) If you must move the swap file (and i don't agree that there's a point), put it on another physical disk.
BAD FIX!!! ... No, Should still be SAFE!!
There is a reason that the autodiskmount is only done after all the fstab partitions have been checked. The proper fix is to place an entry in /etc/fstab and let the default /etc/rc fsck code handle checking and mounting it.Let's talk about this... In my post, I state that the /etc/rc fsck is either (a) not working right, (b) done too late, or (c) not done in /etc/rc. I lean toward (c) since I don't even see an fsck in my /etc/rc script!! More importantly, the autodiskmount *does* fsck your disk for you!! That's how the thing gets mounted... It checkd your disk (fsck? Okay, I don't know for sure, but it performs the SAME function as fsck by checking and cleaning), marks the disk as clean, and then mounts it. This is according to the man page on autodiskmount. So, this method, according to documentation is safe... and it works! The real way to use a seperate swap partition is to use a raw partition for swap. Check the manpage for fstab for details. Using an automounted HFS partition just to hold swap files is stupid, IMNSHO.This is really a different issue. The common way to doing a seperate swap partition *is* with an HFS/UFS partition. We can certainly discuss quality of methods: your "raw" method vs. the more common "automount" method, but , as I said, it's a different issue. Then again, if your name "Avi" refers to you being Avi Tevanian, I throw in the towel right now!! -Pie |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|