1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

How does OS perform file alteration ?

Discussion in 'Windows XP' started by knap, Dec 2, 2011.

Thread Status:
Not open for further replies.
  1. knap

    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
     
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 733,556 other people just like you!

Loading...
Similar Threads - does perform file
  1. dragster1981
    Replies:
    17
    Views:
    1,787
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1029374

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice