Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Classic Macs and Mac OS > Browser on ram disk with no hard disk usage at all?

Browser on ram disk with no hard disk usage at all?
Thread Tools
Ph.D.
Junior Member
Join Date: Feb 2002
Status: Offline
Reply With Quote
Mar 10, 2002, 01:35 PM
 
Hello,

I would like to use a ram disk for browsing so that I can spin down the
hard drive. I have a cube, and then my surfing should be completely silent.
My favorite browswer is Icab.

While I can copy browsers over to the ram disk, as well as the web
cache, there still seems to be hard disk usage related to history and
who knows what else. I can try to make the history zero, but that's
not a great solution. No browser I know of will let you change those
settings from the system preferences folder in an obvious way (from
a menu, etc.). Am I missing something obvious? Is there a not so
obvious way of doing this?

Thanks.
     
Camelot
Mac Elite
Join Date: May 1999
Location: San Jose, CA
Status: Offline
Reply With Quote
Mar 11, 2002, 11:54 PM
 
The chances are that the programs are saving the history, etc. in your home directory (at least, this is where I HOPE they're saving it). iCab, for example, stores its preferences at:

~/Library/Preferences/iCab\ Preferences

It shouldn't be too hard to create symlinks from there to your ram disk:

ln -s /Library/Preferences/iCab\ Preferences /Volumes/Ram\ Disk/iCab Preferences

However, expect problems if you crash and lose the ram disk- you'll lose all your settings. You might want to backup your current settings and use a script in your .profile to copy the backed up settings to the ram disk each time you startup.
Gods don't kill people - people with Gods kill people.
     
<Ph.D.>
Guest
Status:
Reply With Quote
Mar 12, 2002, 12:00 PM
 
Hello,

Thanks, but I'm not using X, so I don't think I can link that way.

When I turn off the history (ouch - turning it off clears it), it still accesses the disk. I assumed that it would access preferences, etc., at startup, but it still accesses the disk during web activity. Icab also has an image cache that seems to be separate from the web cache. I could try turning that off too, but I think some fundamentally different approach is needed. I also tried a few other browsers, and they all seem to be tethered to their preferences folder even after turning everything off.

In the old days, you could load the ram disk with a minimal system and software and run from there. With 1.5gigs on my machine, that's more practical than ever. But is that still possible or advisable?

Any other ideas? Simply copying the preferences over to the ram disk doesn't help, of course. Could I make an alias for the preferences in the system folder and move them to the ram disk (with a copy on disk as a backup)?

Thanks.
     
Bobby
Mac Enthusiast
Join Date: Apr 2001
Location: Camarillo, CA
Status: Offline
Reply With Quote
Apr 12, 2002, 05:28 PM
 
Since I don't use iCab I'm not sure if this is even possible, but I believe it would be the only solution.

You essentially would need to reconfigure iCab to use the preference folder on your ram disk. Most programs don't allow this to be configured. Some allow some to be reconfigured, Like IE will let me change the location of my web cashe, however it will not allow me to change the location of all the preference files.

I suppose it *might* be possible to reconfigure the program using ResEdit, but I doubt it would be possible.

Using an alias of the preferences will not fix the problem, because the program will still access the alias file before redirecting, effectively still reading the hard drive...
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 03:50 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,