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
Write programs for String Reversal & Palindrome check
What are the types of type qualifiers in c?
What is the correct declaration of main?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is the best way to comment out a section of code that contains comments?
Why do we need functions in c?
Is void a keyword in c?
How #define works?
What is a void * in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What are reserved words?
Which is better malloc or calloc?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is the right way to use errno?
how can I convert a string to a number?