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

What are header files? What are their uses?

0 Answers  


What is encapsulation?

2 Answers  


int x=sizeof(!5.856); What will value of variable x?

2 Answers  


int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?

2 Answers  


Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

8 Answers   Mascot, TCS,






When should the volatile modifier be used?

0 Answers  


What is c value paradox explain?

0 Answers  


How many types of operator or there in c?

0 Answers  


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

0 Answers  


Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.

2 Answers   Scientific Atlanta, Wipro,


Find the highest of three numbers and print them using ascending orders?

1 Answers  


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

0 Answers  


Categories