[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::atarist

Title:Atari ST, TT, & Falcon
Notice:Please read note 1.0 and its replies before posting!
Moderator:FUNYET::ANDERSON
Created:Mon Apr 04 1988
Last Modified:Tue May 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1433
Total number of notes:10312

616.0. "40 Folder bug and FOLDRxxx" by OLDTMR::WALLACE () Wed Sep 27 1989 18:22

    In note 591.9 Pat Keane mentions -
    
>    I am getting very paranoid about TOS 1.4 I need to overcome the 40
>    folder limit when I do a disk restore. I have folder XX in set to 200
>    folders, but I still blow away half way through the restore. I then have
>    to continue the restore manually, and its a lengthy pain in the butt,
>    sorting out the folders in the backup savset floppies.
    
    My experience with FOLDERxxx and doing HD backup/restores (using
    BACKUP.PRG by David Chiquelin) is that FOLDRxxx "normally" overcomes
    the 40 folder bug BUT the 40 folder bug will still show up if you
    CREATE to many (>38 if I recall correctly) directories (folders) in one
    boot session.
    
    Which means when you are doing a restore you should either -
    	1. When the restore process fails, Reboot and Restart the restore
    	   process (the directories which already exist won't have to be
    	   created again). This will fail again if you have more than about 76
    	   directories on one partition.
    
    	2. Create all (or most) of the need directories by hand, re-booting
           after creating 38 directories. Then let the backup program restore
    	   all of the files for you. Since no directories will have to be
    	   created by the backup  program it will not fail.
    
    Allways reboot after restoring a partition.
    
    I don't know if other backup programs have this problem with creating
    folders. I did however write a short program which just created folders
    and it died as well after creating 38 folders.
    
    	Ray
T.RTitleUserPersonal
Name
DateLines
616.1patch for BACKUP.PRG ?UFHIS::BFALKENSTEINThu Sep 28 1989 06:5113
    
    I made the same experience. In TOS 1.4, which I have in the ROMs since
    one month, FOLDERXXX is no longer necessary because this bug is fixed.
    There came a program together with AHDI (DIR.PRG or DIRREST.PRG or so)
    which shows you the amount of still creatable directories. This program
    comes up with  ???  when started under TOS 1.4.
    Even though I have still the same problem as mentioned before while 
    restoring the harddisk with BACKUP.PRG by David Chiquelin. I think this
    cannot be the 40-folder bug anymore. I also have to restore manually
    after about 38 folders. Maybe somebody has a patch for BACKUP.PRG ?
    
    Bernd
    
616.2This is more serious that I thoughtPRNSYS::LOMICKAJJeff LomickaThu Sep 28 1989 12:4128
Well, this is a problem with the backup program I use also - but I was
able (last night) to find a way around it.

If the backup program will force a "media change" condition after each
time it creates a directory, the TOS will dispose of the old folder
data, and you will be able to continue creating new folders.

I also don't think that the "XXX" part of "FOLDRXXX" is particularly
accurate, and I think the estimate is a little low.  I am curious as to
if you have to count the "." and ".." backpointers in the folder count. 
If these count, you will have to multiply by three.

My experiments were as follows:

1. I loaded a FOLDR400.PRG

2. I started a backup of a partition containing about 170 folders into
an empty partition.

3. It seemed to work, but the system crashed horribly when it tried to
exit, and the backup partition exhibited weird behavior.

I then modified the backup program (I have the source) to "kick" the
backup disk after each time it had to create a folder.  I repeated the
experiment, and the backup completed without a problem.

I'm going to continue to persue this approach, and see if I can make
even more of the 40 folder problems go away for my backup program.
616.3Which Backup/Restore utility ?MUNCSS::BURKEJim Burke, @UFCThu Oct 05 1989 07:396
    I use TURTLE (& Terrapin) for backup & restore. I'm sure I read in the
    documentation that Turtle overcomes the 40-folder problem. I've had no
    problem, but I always boot up with FOLDR300.
    
    Jim
    
616.4Turtle-----UnturtleUKCSSE::KEANEFri Oct 06 1989 09:5517
    
    Hi Jim,
    
    
    How do you RESTORE using Turtle?? I have Turtle and found it super fat
    on the backup, but the restore is manual, I thought. I have just ordered
    UNTURTLE from a P.D. library, to do the Restore phase.
    
    By the way,
    
    	I also ordered some fonts, a disk of picture conversion progs and a
    CAD progem called Cad2D by a software house called JIL corp. (Jesus is
    Lord). This sounds an unusual name for a software company, can anyone
    tell me how this name came about, and any info on this company?
    
    
    	Pat K
616.5One guess !MUNCSS::BURKEJim Burke, @UFCSun Oct 08 1989 14:4718
    Pat,
    	I think it's called UN-TURTLE !
    
    I got it from a PD Library. I did test it before installing it, and it
    seemed to work OK. 
    I do know that Turtle solves the 40-f problem, but that's on a BACKUP.
    I'm not certain if UN-TURTLE does it too, on the RESTORE operation. 
    I doubt it, since it was written by somebody else.
    
    	Luckily I havn't had the need yet to do an emergency restore, but
    that'll come !
    
    	Let me know if you want it, and I'll upload it to my account for
    anybody.
    
    Regards,
    Jim
    
616.6HOW BIG A RAM DISK?UKCSSE::KEANEMon Oct 09 1989 06:1112
    Thanks Jim,
    
    But I have now got UNturtle from STUK on a PD disk!.
    
    I was playing eith TURTLE and the TRAM disk prog that goes with it. I
    have an 1M (520ST), and I want to get the most data on a Floppy. What
    is the MAX size of Ram disk I can get into memeory, and still run
    Turtle?? Do I have to take out Folder200.Prg?? I have remeoved all
    accessories, and I cant seem to get over 720K, (9 * 80 track)!
    
    Cheers
    Pat K.
616.7TURTLE eats the 40-folder bug !MUNCSS::BURKEJim Burke, @UFCMon Oct 09 1989 22:2017