-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Malcolm Cadman wrote: <defragmentation snipped> > As they write data to next available space, which means that an item can > become scattered across a hard disk surface. > > It doesn't happen in QL world ... :-) I don't know details but I bet you are wrong.
If a media *only* gets written to - ie nothing is ever deleted - and the directory area does not need expanding, then there can be no fragmentation. If files are deleted, holes appear in the system. Once there are files to be written to the hard disk that are larger than any contiguous free space, but there *is* space on the drive, then the file simply must be fragmented, or not written at all. I don't know if the QL fills holes by default or always writes to the end of the data. RomDisq though certainly does not follow any normal pattern. It continually uses all the free space to help increase the life of the flash memory. It should not be too hard a job to write a de-fragmentation program for anyone who knows how to direct read/write from/to a media. I guess the hard bit is to make it safe (and to write the pretty pictures!). Tony > - -- QBBS (QL fido BBS 2:257/67) +44(0)1442-828255 [EMAIL PROTECTED] http://firshman.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGK6vDM3RzOs8+btoRAhfHAJ0QoNV+kKBcFuYHVUACMwYNk1gAZQCfbvun 9UTO3WOcKkMIKv24TteP8K4= =2K3g -----END PGP SIGNATURE----- _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm