Subject: Re: Copying RamDrive before Shutdown.
From: "Kenton W. Mellott" <melken@co.tds.net>
Date: 29/11/2003, 23:05
Newsgroups: alt.sci.seti

When you get a chance that might be of interest.  I suspect some type of
scripting might get involved. If that's the case a simple example would be
like a light in the night.

Sincerely,

Gregory D. MELLOTT
for Kenton W. MELLOTT


"Martin Riddle" <martinriddle@hotmail.com> wrote in message
news:2Vcxb.21148$Rk5.16568@newsread1.news.atl.earthlink.net...
There is a service or Dll call that you can use to execute a command in
windows on shut down.
The exact call escapes me right now, but if your interested I can dig it
up.

Cheers

"Kenton W. Mellott" <melken@co.tds.net> wrote in message
news:3fb873e8_1@newspeer2.tds.net...
I appreciate your input.  My endeavors with
http://www.vassaux.net/seti/eng/
came up completely empty as far as an executable program goes.  The
outline
for the whole process was quite informative and useful though,
especially as
it relates to Windows' 'regedit' file.

I found out I had to put my startup batch file in Windows' Startup and
not
the autoexec.bat.  DOS doesn't do long filenames so it does not copy the
files properly to MS- RAMDRIVE.

I think I finally got Window's Task Manager to copy my files over to the
hard drive every couple of hours now.  It didn't want to use an batch
file
with XCOPY in it.  So I programmed a simple executable to do the same
thing.
Even though I used a batch file to feed it a command line also, the Task
Manager seemed to use that okay, if I dropped the repeat time down and
was
there using the computer, at first.  I kept increasing the time between
repeats and now it seems to be working at 2 hours.

Another concern may be arising, though.  I shut the machine down after
it
had completed a workunit on the RAM drive, but I'm suspecting it wasn't
yet
copied to the hard drive.  I was trying to send the results back but my
internet connection was not working.  So that failed.

After I restarted the machine, the internet connection now is working.
But
SETI at first display partial completion then restarted the work unit as
though it was a new one.

Anyone know what up?

Sincerely,

Gregory D. MELLOTT

I has a strange thing happen



"f/fgeorge" <f/fgeorge@yourplace.com> wrote in message
news:6nudrv075klo0uucd7i7psisdhsgqullbk@4ax.com...
On Sat, 15 Nov 2003 18:39:41 +0000 (UTC), Bob <none@none.none> wrote:

f/fgeorge wrote:
I did a simple search on the net and found this that might help you
http://www.vassaux.net/seti/eng/
I HAVE NOT tried nor used this program. I have however used another
ramdrive for Seti and it copied the data to the harddrive in time
section that are user configurable. Meaning that you can choose how
often the data is written to the harddrive from one minute to
hours.

On Sat, 15 Nov 2003 00:26:49 -0700, "Kenton W. Mellott"
<melken@co.tds.net> wrote:


I found one could easily get a ramdrive by simply adding the device
to
the
config.sys file.

The autoexec.bat file then can use xcopy to get the Seti@home files
from the
directory one saved it in before shutting the computer down.  (You
have
to
install it into the ramdrive to get Window to know where to find
it.
And
apparently add it to the shortcuts in Startup.)

But having failed to save it once. I am wondering if there is a
way,
such a
by scripting, to get that automated.

Sincerely, Gregory D. MELLOTT

PS.  The only weakness I have noticed so far in this system, is
that
the
ramdrive gets a different drive letter if you add or remove a hard
drive.




Noting that IIRC a ramdrive may well consume more CPU resource than
writing to disk (if DMA enabled).  Therefore they are mainly of use
if
you want your harddrive to shut down and spend time asleep, which it
won't if you save off teh RAMdisk every minute...

True but I was only explaining some of the versatility of the program
not giving the pros and cons. When I used it I set it to save every 60
minutes. That way I never lost more than an hours worth of work if
something went wrong. Nothing ever did go wrong!