File system or O/S

Status
Not open for further replies.

markh

Posts: 14   +0
Hi all, when a file is saved to the harddisk is it the file system or operating system that is responsible for saving it to the harddisk. Again, which one is responsible for maintaining files on the harddisk (defrag and scandisk)?.

Many Thanks
MarkH
 
The filesystem defines how things are organized on the disk vs. the Operating System which reads/writes to the filesystem. The filesystem is a "layer" of the Operating System.

Think of it kinda like:
> A library can organize books by different methods, e.g. the Dewey decimal system or alphabetically by title. The librarian is the interface to the library and responsible for filing the books
> People (at the "operating system" level) only need to know how to talk to the librarian (the file system interface) to get or return books. People need not care how the books are being stored

Defrag and chkdsk are "workers" or "tools" that help maintain organization or fix filing errors that may occur time-to-time (e.g. cause if a library once held one million books and now only holds 1,000, it's much simpler if all those 1,000 books are stored close to together. Being close together makes it easier and quicker for the librarian to get them vs. having to get them when they're scattered across a large space)
 
Good reply - many thanks.

Going in a similar direction, would it be fair to say that the O/S only communicates in the same way with sound cards, network cards etc, i.e. via the sound card or network card driver, or does the O/S communicate with these via the chipset drivers. Hope this makes sense.

MarkH :slurp:
 
Status
Not open for further replies.
Back