From owner-freebsd-questions Fri Jun 28 7: 0:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7976537B401 for ; Fri, 28 Jun 2002 07:00:40 -0700 (PDT) Received: from backup.af.speednet.com.au (afgate.speednet.com.au [203.57.65.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBF8E43E0A for ; Fri, 28 Jun 2002 07:00:37 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from backup.af.speednet.com.au (andyf@backup.af.speednet.com.au [172.22.2.4]) by backup.af.speednet.com.au (8.11.6/8.11.6) with ESMTP id g5SDxrP34470; Fri, 28 Jun 2002 23:59:53 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Fri, 28 Jun 2002 23:59:52 +1000 (EST) From: Andy Farkas X-X-Sender: To: Edwin Groothuis Cc: Odhiambo Washington , FBSD-Q Subject: Re: du output strange!! In-Reply-To: <20020628234923.D79950@k7.mavetju> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 28 Jun 2002, Edwin Groothuis wrote: > > This could be trivial but can someone explain to me what is going on here: > > According to the man-page/usage() -h and -k are mutally exclusive, > only the program doesn't enforce it. > > -h assigns BLOCKSIZE to 512 > -k assigns BLOCKSIZE to 1024 Are you sure the man page says that? My reading of it tells me: "If the -k flag is specified, the number of 1024-byte blocks used by the file is displayed" Nothing in there about -h overiding the -k flag.... > > Edwin > > -- > Edwin Groothuis | Personal website: http://www.MavEtJu.org > edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: > bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ > -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message