answersLogoWhite

0

Disk organization in MS DOS

Updated: 12/13/2022
User Avatar

Wiki User

12y ago

Best Answer

Unlike the host's DFS or ADFS filing Systems, DOS does not require that each file occupies a contiguous area of disc. This gives major advantages in convenience, since it provides a self-maintaining system which never requires such operations as compacting, rendering errors like can't extend impossible. The only error in this category which is never seen in DOS is Disc full. A subsequent DIR will show that either this is literally true, or that the file to be written to the disc will not fit into the remaining unallocated spaces

The converse of this convenience is that, over time, as files are extended or contracted and new files are added or old ones deleted, individual files become very fragmented. This has two possible implications for the user.

The first, which is unavoidable, is that pieces of file may become literally scattered around the disc at virtually random locations. This eventually can make itself felt when file access times become extended. It is of little consequence for small files, but can have a very noticeable performance implication for regularly used large files.

The solution is to format a new disc and copy the data to it file by file. The copying must be carried out at the file level because copying the whole disc track by track, (i.e. using the DISK program) will also take the existing fragmented structure with it, defeating the objective.

Copying the files individually reorganises them, by joining the fragments together on the new disc. The result is that the newly copied files are again stored in contiguous areas and disc performance is restored. Assuming two floppy drives this can be simply achieved by the command. copy A*.*.* B:

Using this technique will require that copying is carried out on a directory by directory basis, and that the appropriate directories have already been created on the target drive. Although the effects of file fragmenting may be less noticeable for longer periods with a hard disc, this problem and its solution (unfortunately very much more tedious in this case) apply equally.

The second implication of fragmented files is that, in the event of a physical disc failure or the accidental deletion of a file, retrieving and assembling the fragments of a file in the correct order by recovering hardware sectors from disc can be an extremely lengthy and laborious process.

As usual, but even more especially important for DOS disc formats than for BBC native mode discs, the very best advice is to attempt to totally avoid this possibility by ensuring adequate backups are taken on a separate disc at frequent intervals during lengthy file updating sessions.

By: Rajnish Gupta(Moradabad)

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Disk organization in MS DOS
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does ms -dos stand for?

MS-DOS stands for Microsoft Disk Operating System.


Where can you download MS-DOS?

Every version of Windows, even Vista, bundles a copy of MS-DOS. You can create an MS-DOS boot floppy by formatting a floppy disk, and checking the "Create an MS-DOS startup disk" box.


How does MS-DOS view data stored on disk?

MS-DOS views the data stored on disk as a stream of BYTES. Chapter 11: MS-DOS InternalsPg: 278Book: Operating Systems


What is meant by MS-DOS commands?

MS DOS stands for Microsoft Disk Operating System.


What is meant by dos?

MS DOS stands for Microsoft Disk Operating System.


What does the MS-DOS stands for and what are the three main system files of MS-DOS?

MS-DOS = MicroSoft Disk Operating System & IO.SYS, MSDOS.SYS, & COMMAND .COM


What is the MS-DOS?

MS-Dos is Microsoft Disk operating System. The operating system for early IBM based computers.


Different versions of disk operating system?

MS-DOS, PC-DOS, FREEDOS.


Where can you download MS-DOS 8?

Technically speaking, there is no MS-DOS 8. MS-DOS 6.22 was the last version of MS-DOS released as a separate product. Future updates to MS-DOS were bundled with Windows. You can create a basic MS-DOS boot disk that is branded as being "MS-DOS 8" by formatting a floppy with the Startup disk option in Windows Me, Windows XP, Windows Vista, and Windows 7. These are not typically considered "full" versions of MS-DOS, because they lack many of the programs conatined in 6.22 and prior.


Is ms dos is a software?

Yes. It is a disk operating system.


Full from MS Dos?

Microsoft Disk operating system


What is the meanning of MS-DOS?

MS-DOS is an operating system developed by Microsoft Corporation. Its called Microsoft Disk Operating System.