3 ms·
The moment I saw this title, I imagined this on ZFS: $ truncate -s 1G testfile $ du testfile 1 testfile $ du -b testfile 1073741824 testfi
by ryao 2y ago
The moment I saw this title, I imagined this on ZFS:
$ truncate -s 1G testfile
$ du testfile
1 testfile
$ du -b testfile
1073741824 testfile
- ndsipa_pomu 2y agoThat's a sparse file - you'd get the same on just about any Linux filesystem regardless of compression
- ryao 2y agoIt shows the two different file sizes.