Solved

Disk block changes following a save

Posted on 2006-11-08
1
196 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 88

Accepted Solution

by:
rindi earned 500 total points
ID: 17897915
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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Disk provisioning with EMC Unity flash storage? 2 127
adding more drive space to the server 5 53
Upgrading server RAID storage and RAID Controller 13 28
Raid 0 2 61
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
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…

777 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