What is sparse file?



What is sparse file?..

Answer / 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

More C Interview Questions

which of 'arrays' or 'pointers' are faster?

5 Answers  


what is the difference between getch() and getchar()?

10 Answers   Huawei, Infosys,


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

0 Answers  


int a=0,b=2; if (a=0) b=0; else b=*10; What is the value of b ?

6 Answers   TCS,


Differentiate between null and void pointers.

0 Answers   TCS,






write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)

26 Answers   ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

0 Answers  


write a program in C to swap two variables

7 Answers   Attrabyte, Marlabs,


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

0 Answers  


What are the different types of objects used in c?

0 Answers  


write a program to compare 2 numbers without using logical operators?

5 Answers   IBM,


What are local static variables? How can you use them?

0 Answers  


Categories