| View previous topic :: View next topic |
| Author |
Message |
Amit
Guest IP: 203.90.*.*
|
Posted: Wed Nov 23, 2005 10:24 am Post subject: File where addresses of files will get stored in Windows OS |
|
|
Where the addresses of different files in Windows OS will get stored in hard-disk? What is the filename where the files address get stored?
Can Someone help me out in knowing the answer of this question?
|
|
| Back to top |
|
 |
Mister2
SRT Team Lead
 Premium Member
 Joined: Oct 28, 2004 Posts: 7329
|
Posted: Wed Nov 23, 2005 7:22 pm Post subject: |
|
|
Hi Amit,
Generally speaking, files are written (stored) to a hard disk starting with the first available space on the disk. If you are installing Windows on a newly formatted disk then the files are written to the disk consecutively (one after the other) from the beginning of the free space.
If you have deleted files and then other files are copied to disk, the space used may start where a file has been deleted. If this space is not big enough to store the whole file than the next part of the file is stored in the next available space and so on. This means the file is stored in fragments across your disk and can cause your system to slow down when the file is accessed. This is one reason why it is a good idea to defrag your disk regularly to make sure each file is stored in one piece as far as possible.
The actual addresses of the files are held in the File Allocation Table (for FAT16 or FAT32 file systems) or the Master File Table (NTFS file systems).
Does this answer your question? _________________ Never stop learning
|
|
| Back to top |
|
 |
Amit
Guest IP: 203.90.*.*
|
Posted: Thu Nov 24, 2005 5:50 am Post subject: |
|
|
| Mister2 wrote: | Hi Amit,
Generally speaking, files are written (stored) to a hard disk starting with the first available space on the disk. If you are installing Windows on a newly formatted disk then the files are written to the disk consecutively (one after the other) from the beginning of the free space.
If you have deleted files and then other files are copied to disk, the space used may start where a file has been deleted. If this space is not big enough to store the whole file than the next part of the file is stored in the next available space and so on. This means the file is stored in fragments across your disk and can cause your system to slow down when the file is accessed. This is one reason why it is a good idea to defrag your disk regularly to make sure each file is stored in one piece as far as possible.
The actual addresses of the files are held in the File Allocation Table (for FAT16 or FAT32 file systems) or the Master File Table (NTFS file systems).
Does this answer your question? |
| Quote: | Thanx Mister2, i got the answer. can u help me little bit more? How the addresses of file get stored in FAT Table? |
|
|
| Back to top |
|
 |
Mister2
SRT Team Lead
 Premium Member
 Joined: Oct 28, 2004 Posts: 7329
|
Posted: Thu Nov 24, 2005 9:32 pm Post subject: |
|
|
Hi Amit,
The FAT resides in the boot sector of the disk and can be likened to the index of a book. The actual entries are created when a file is written to disk. The Fat will have an entry identifying an unused disk sector. The file is written to this sector and the FAT entry updated to reflect the address of the beginning of the file and also other information such as the address where the next part of the file is stored.
There is an article here discussing the FAT in more detail. There is also a MS article here .
Is there a specific question you need to answer regarding filing systems? _________________ Never stop learning
|
|
| Back to top |
|
 |
IP: 203.90.*.*
Guest
|
Posted: Fri Nov 25, 2005 6:06 am Post subject: |
|
|
| Mister2 wrote: | Hi Amit,
The FAT resides in the boot sector of the disk and can be likened to the index of a book. The actual entries are created when a file is written to disk. The Fat will have an entry identifying an unused disk sector. The file is written to this sector and the FAT entry updated to reflect the address of the beginning of the file and also other information such as the address where the next part of the file is stored.
There is an article here discussing the FAT in more detail. There is also a MS article here .
Is there a specific question you need to answer regarding filing systems? | Thanx I got the answer of my question.
|
|
| Back to top |
|
 |
Mister2
SRT Team Lead
 Premium Member
 Joined: Oct 28, 2004 Posts: 7329
|
Posted: Fri Nov 25, 2005 7:42 am Post subject: |
|
|
You're welcome!
Glad we could help  _________________ Never stop learning
|
|
| Back to top |
|
 |
k027
Special Response Team Guest Forums Host

 Joined: Aug 25, 2003 Posts: 8519
|
Posted: Fri Nov 25, 2005 12:53 pm Post subject: |
|
|
Since the problem appears to be resolved, this topic is now locked.
|
|
| Back to top |
|
 |
|
|