Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269367AbUIYRPc (ORCPT ); Sat, 25 Sep 2004 13:15:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269370AbUIYRPb (ORCPT ); Sat, 25 Sep 2004 13:15:31 -0400 Received: from dp.samba.org ([66.70.73.150]:62696 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id S269367AbUIYRPR (ORCPT ); Sat, 25 Sep 2004 13:15:17 -0400 Date: Sat, 25 Sep 2004 10:14:36 -0700 From: Jeremy Allison To: Jeremy Allison Cc: Linus Torvalds , Samuel Thibault , Kernel Mailing List Subject: Re: [2.6] smbfs & "du" illness Message-ID: <20040925171436.GO580@jeremy1> Reply-To: Jeremy Allison References: <20040917205422.GD2685@bouh.is-a-geek.org> <20040925171104.GN580@jeremy1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040925171104.GN580@jeremy1> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 848 Lines: 20 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/