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, Sep 25, 2004 at 10:11:04AM -0700, Jeremy Allison wrote:

> Besides which, on HPUX (which these extensions were
> first created for) it returns st_blocks in 8192 byte
> units, not 512, so your claim is incorrect.

Oh yeah, and checking our configure.in, Stratos VOS
uses 4096 for the same units. That's when I gave up
in horror (I, like you, used to think it was 512 :-).
The original smbclient test code failed to return the
correct value when connecting to HPUX because of this,
we used to multiply by 512 bytes to show the user the
complete number.

Jeremy "standard, what standard ?" Allison.
-
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: 2005-03-22 14:06    [W:0.051 / U:0.876 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site