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


Click here to return to the 'A simpler way to mount drives - 100%' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A simpler way to mount drives - 100%
Authored by: syzygies on Feb 14, '06 03:12:18PM

Only after a half hour of experimenting did I realize that you never actually said that you tried this for moving the swapfile. Your confidence threw me.

While Apple is deprecating the use of fstab, your method does a great job of eventually mounting arbitrary volumes in arbitrary locations (as
does mounting by name rather than UUID), with two caveats:

1. The maids come in and sweep /Volumes clean between boots, so any mount point created there will be deleted before it can be used.

2. If one creates a mount point elsewhere, e.g. next to Apple's default location for swapfiles, then the volume does not mount in time to be used for virtual memory.

There's a perennial tug-of-war in hints land, between those who love one-liners and feel sorry anyone who just wasted hundreds of lines of code for the same task, and those who view robustly covering every case as a game, and are willing to codify their strategy using hundreds of lines of code.

If one writes for other people, one has to take the second point of view. A Perl script feels heavy-handed compared to proposing a few manual changes, but look at the one trouble report so far here: A manual editing error by someone who didn't use the Perl script.



[ Reply to This | # ]