What is sparse file?

Answer Posted / vivek

A sparse file is a type of computer file that attempts to
use file system space more efficiently when the file itself
is mostly empty. This is achieved by not writing data to
disk when it has been allocated but not actually filled
with data. Instead, brief information about these empty
regions is stored, which takes up much less disk space.
These regions are only written to disk at their actual size
when data is written to them; the file system transparently
converts empty sections into blocks filled with zero bytes
when read at runtime. Most modern file systems support
sparse files, including most Unix variants and NTFS. Sparse
files are commonly used for disk images, database
snapshots, log files and in scientific applications.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5706


Difference between malloc() and calloc() function?

891


given post order,in order construct the corresponding binary tree

2541


What is wrong with this statement? Myname = 'robin';

1057


Which is the memory area not included in C program? give the reason

1726


What is bubble sort technique in c?

769


Difference between macros and inline functions? Can a function be forced as inline?

951


What is wrong with this declaration?

840


Which type of language is c?

836


How are 16- and 32-bit numbers stored?

984


Differentiate between calloc and malloc.

1012


What are pointers? What are different types of pointers?

828


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

828


What is void main ()?

808


What is the value of uninitialized variable in c?

797