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 the advantages & disadvantages of unions?

2 Answers  


Why double pointer is used in c?

0 Answers  


What is the scope of static variables?

1 Answers  


What are pointers really good for, anyway?

0 Answers  


What is the best way to comment out a section of code that contains comments?

0 Answers  






main() { int i,n=010; int sum=0; for(i=1;i<=n;i++) {s=s+i; } printf("%d",&s); getch(); }

6 Answers  


Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)

6 Answers   Subex,


What is the use of bitwise operator?

0 Answers  


How can I list all of the predefined identifiers?

0 Answers  


Can we declare variables anywhere in c?

0 Answers  


Explain what are the different data types in c?

0 Answers  


wht is the difference between KPO and BPO ?

2 Answers   Accenture, BPO, HCK, HCL, Infosys,


Categories