Albrecht Mehl wrote:
I would like to use my opensuse 10.2 system on a MSI K8N Neo2 Platinum
board with a Hitachi SATA 160 GB HDS722516VLSA80 hard disk mostly
without the hd running, i.e. I imagine copying the files needed for my
daily work at the beginning of a session to a ram disk and then working
from there. At the end of such a script the hd will be turned off. But
... I do not know how to accomplish this turning off. So for hints as
detailled as possible as to how to turn off the hd in a script I would
be very grateful.

The very nature of your question reveals that you are not very
experienced with Linux, or Unix machines in general...and thus,
don't have any idea of how complicated it would be to do what
you propose.

for example, right now, as you read this, run the command that
lists all open files:

lsof

Now, for you to turn your hard drive off, you have to close
each of those files... of course, some of those have to do
with the execution of essential systems program.  So good
luck with figuring out how to do that.

Are you planning on copying over your entire home directory into
the ramdisk?  Otherwise, your home directory will be "busy" and
the system will NOT let you unmount the hard drive.

Modern disk drives last for YEARS running 24x7.

And how do you intend to recreate /bin, /lib, /usr/bin, /usr/lib,
/var and other vital directories in your ramdisk without using
up so much memory that you don't have enough free memory to even
load a program and its data.  How many gigabytes of memory do
you have on your main board?  Memory might be cheap, but it would
be even cheaper to buy a 2nd 160 GB disk drive as a spare.


In short, you're essentially asking how to modify your
car so that the engine can be removed very quickly while
your car is moving, so that you can drive around town in
stop-and-go traffic with no engine.

Answer:  It doesn't work that way.




A. Mehl



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to