Top "Sparse-file" questions

A sparse file is a file where only the non-zero data are stored in data blocks and all zero-data are generated by the filesystem when the file is read.

Copying a 1TB sparse file

I got a sparse file of 1TB which stores actually 32MB data on Linux. Is it possible to "efficiently" make …

linux file sparse-file
What is a sparse file and why do we need it?

What is a sparse file and why do we need it? The only thing that I am able to get …

file filesystems system disk sparse-file
How to create a 10MB file filled with "000000..." data in golang?

I am intended to use fdatasync in a system like log or diskqueue. The first thing is to create a 10…

file go fsync sparse-file