←back to thread

68 points ingve | 2 comments | | HN request time: 0.319s | source
Show context
ryao ◴[] No.43713252[source]
The moment I saw this title, I imagined this on ZFS:

  $ truncate -s 1G testfile
  $ du testfile
  1       testfile
  $ du -b testfile
  1073741824      testfile
replies(1): >>43714109 #
1. ndsipa_pomu ◴[] No.43714109[source]
That's a sparse file - you'd get the same on just about any Linux filesystem regardless of compression
replies(1): >>43721061 #
2. ryao ◴[] No.43721061[source]
It shows the two different file sizes.