Re: du and df not in sync?
In article <[🔎] GAECIEMLMIOAPEJLGKHKEEODCFAA.o.edlund@upright.se>,
Olof Edlund <o.edlund@upright.se> wrote:
>I don't know the answer to this question for sure but in UNIX in general you
>can have files with "holes" in them. If you create a file and move the file
>position pointer 2 billion steps forward and write one byte your file will
>be reported as 2 gig big
By "ls", but not by "du". du will report the _actual_ size.
>This means that du will report it as being 2 gig but df which uses other
>information will report the actual amount if disk space used and they might
>not add up.
Nope.
Mike.
Reply to: