How does OS perform file alteration ?

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

knap

Thread Starter
Joined
Oct 15, 2007
Messages
2
I'm interested in how OS alters the content of a file.

For instance, if i change the content of a text file by adding or deleting a paragraph/word, how an OS performs the task?

My guess is it deletes the entire old file and creates a new version of it, because it cannot access particular bytes of a cluster in order to delete them or add new ones.
If this is true, does OS create a new file version on the same cluster starting position (if there is enough space, i.e. if the position of the next populated cluster allows it), or it throws the new file in a random free space on the disk?

Thanks
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top