TIP: Click on subject to list as thread! ANSI
echo: cis.utilities
to: Mark Griffith, 76071,41
from: Ken Drexler 75126,3427
date: 1990-08-18 11:41:04
subject: #hdbackup modification

#: 6191 S9/Utilities
    18-Aug-90  11:41:04
Sb: #hdbackup modification
Fm: Ken Drexler 75126,3427
To: Mark Griffith, 76071,41

Mark,

Last weekend, I spent ten hours using your hdbackup to backup hard disk. It is
a slick program. The fact that the files remain individually readable is a
great advantage.

I did run into one small hitch. At one of the "Insert next disk" prompts, I
bounced the return key. Of course, meant that when the current disk was full,
the program skipped through the next swap disks prompt without stopping.
Although I was able to continue the backup using ^S to stop the program and a
second terminal to build the needed directories on the new disk, I decided to
modify the code to eliminate the problem.

Actually I made two changes. Both are in swap_disk(). One deals with the double
RETURN problem which I had. The other gives the user the option of running a
shell command at each disk swap prompt. This latter change allows the user to
format disks, for example. I have tested my changes and think they may be
useful to others.

The changed code in swap_disk is in the following message. It replaces your
code up to "if (flag == FULL)". If it looks useful, you are free to include in
a future upgrade of hdbackup.

Ken

There is 1 Reply.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.