Solved

Disk block changes following a save

Posted on 2006-11-08
1
194 Views
Last Modified: 2010-04-03
Hi,

I'm not sure if this is more of an application specific question, but I'll try here first...

Let's say I have an MS Word document sitting on a disk, and it's currently occupying 10 physical blocks on the disk. I then open the document and make a one word change to it, and click Save. Can anyone tell me which of the following occurs:

1) The physical block on the disk containing the portion of the document that was changed is updated with the new data, and presumbably has a timestamp updated to show the time of its last change. All other physical blocks containing data related to the document remain unchanged.

2) The entire document is written back to the disk. The physical blocks may remain the same, or may change depending on various factors determined by the operating system.

The reason I need to know this is that I'm currently involved in the design of a very large system which will have a lot of data replicated across a WAN. The replication is block-based, so I'm trying to find out how common applications like MS Word save their files.

Many thanks for all your help
0
Comment
Question by:gamesmeister
1 Comment
 
LVL 87

Accepted Solution

by:
rindi earned 500 total points
Comment Utility
This depends on the application, but most of them, and word as an example, will write the whole file back to disk. Actually this is normally handled by the OS, so if you need an app that only writes the changed blocks back it will have to override what the OS usually does. This means that only apps that circumvent what the OS does can do that. Such apps could do harm to the system because of that, so you'll mainly find them as utilities or tools.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Hi, I've made you some graphics for a better understanding how RAID works. First of all, there are two ways a raid can be generated: - By hardware - By software What does that mean? This means: If you have a hardware RAID controller, there…
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now