[Coco] moving files on bootup

Frank Swygert farna at att.net
Thu Jan 31 11:03:45 EST 2008


So the files will always be in the same directory on the floppy. In that case, just insert a command to copy the directory to the ramdisk in the start-up file, not a file-by-file copy. I haven't touched Os-9 in years, but there should be a directory copy command. I'm assuming you have taken measures to save this directory from the ramdisk to floppy at convenient intervals, and when the program is halted. You will still lose any changes during a reset or loss of power, but that shouldn't be a big problem -- especially if you can compare the ramdisk and floppy directories and save changes at some point in the program, or just take the time to copy the whole directory from ramdisk to floppy at intervals. Time consuming, but would be best for security. 

--------------
Date: Wed, 30 Jan 2008 00:44:37 -0600
From: "George Ramsower" <georgeramsower at gmail.com>

 As I said, the files will be changing.
 This means some will be deleted and some will be added or changed. 
Therefore, a script to copy files would be constantly changing and will 
require my attention. This is not an option. It has to be automatic. Since 
the ram disk will start empty, the routine should  just copy a directory to 
the ramdisk upon startup.

-- 
Frank Swygert
Publisher, "American Motors Cars" 
Magazine (AMC)
For all AMC enthusiasts
http://farna.home.att.net/AMC.html
(free download available!)




More information about the Coco mailing list