[Gllug] Odd (but apparently correct) behaviour from du
Nix
nix at esperi.org.uk
Fri Jul 18 11:48:27 UTC 2008
On 17 Jul 2008, Matt Blissett verbalised:
> Nix wrote:
>
>> That is bizarre and feels like a bug to me too. I'd ask on the coreutils
>> list if I were you, and see what Jim Meyering says about this. (POSIX
>> doesn't define the behaviour of du(1) with respect to files with
>> i_nlink > 1 at all that I can see.)
>
> It seems useful to me (at least, I've used it this way myself). If I have
> three directories (A, B, C) of hard-linked backups, I can do
> du -hs A B C
> and get
> 100MB A
> 10MB B
> 20MB C
We need another command-line option, perhaps...
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list