Re: [2.6] smbfs & "du" illness

From: Jeremy Allison
Date: Sat Sep 25 2004 - 16:12:43 EST


On Sat, Sep 25, 2004 at 01:21:29PM -0700, Linus Torvalds wrote:
>
> I repeat: the Linux client is apparently better off ignoring it totally.
>
> That makes it meaningless, Jeremy.

Currently I can't argue with you on that.

> After all, the only thing we can use it for is st_blocks, and since the
> granularity is _so_ big, we're much better off looking at the file size
> and guessing from that.
> Tell me again: why should the Linux client look at that number? Give me
> just _one_ valid reason.

Right now (Samba 3.0.7) you are correct. But the intent is
to fix it going forward, so that in non-broken server implementations
(yes the Samba implementation is broken right now) then it
will be correct (ie. follow the intent of the spec).

Sorry, can't fix the past, I can only fix the future :-).

Jeremy.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/