lkml.org 
[lkml]   [2004]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6] smbfs & "du" illness


On Sat, 25 Sep 2004, Linus Torvalds wrote:
>
> Methinks you've been looking too much at what MS does over the wire, and
> that has made you think that it makes total sense to send random numbers
> over the wire. Maybe so - maybe it's how you have to think if you make a
> samba server. But if so, just _say_ so, instead of making arguments that
> make no sense.

Btw, if you want to send bytes instead of blocks, I don't care. The Linux
client can easily do

blocks = bytes >> 9;

and I'll be perfectly happy. But if the "bytes" count you send has no
actual real-life meaning (ie it didn't actually come from the underlying
filesystem at all), then don't bother. The client might as well do

blocks = (filesize + 511) >> 9;

if that's what the server is (badly) mangling.

Linus


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

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.037 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site