How do I output how much of file nominal size is actually filled with data? Like
vmtouch shows how much of file is currently in memory...
I expect the workflow to be like this:
$ fallocate -l 1000000 data $ measure_sparseness data 100% $ fallocate -p -o 250000 -l 500000 data $ measure_sparseness 50%
du -bsh and
du -sh and compare them.