From owner-freebsd-questions@FreeBSD.ORG Wed Jun 13 23:19:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23D271065673 for ; Wed, 13 Jun 2012 23:19:07 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id D2A8A8FC19 for ; Wed, 13 Jun 2012 23:19:06 +0000 (UTC) Received: by qcsg15 with SMTP id g15so806213qcs.13 for ; Wed, 13 Jun 2012 16:19:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=XQ5ahv2u1jfu+NcSlhJd+p6DmdzEqlLf15a1t1Pzp6c=; b=Lnr09rL3cskw/0hTYo/kMxsCCGqF+TFjvtY6vZfkYnRLxSAtywXoLLIS3AUZhRUDjm 67fkqU2YeCJ2QEEvYjyoS6vtT/2wrTssVY6kQvIjCgZxtwk4gLwdBrLf130ENDFaMhC1 k6zNUsjWcUx+L9gLwtKHO5vVIj4Je45KkwtVmMr8u0aR768iocG5vV+1dL+EPl5FWK5B M+sTd1Maqq4d8qGF8S717nzp+mJwu88BxD9U3O8ErpnpxhyU/X7DzpU7apgOqfUcJ8k0 MFa8FRaxpC6VRNXrz9GDYFNIurXEowei3/mlKdlWUOZHYYvqivRZo3TU1keKCGY1oNo6 G+dw== MIME-Version: 1.0 Received: by 10.229.136.68 with SMTP id q4mr11578803qct.71.1339629546189; Wed, 13 Jun 2012 16:19:06 -0700 (PDT) Received: by 10.229.184.84 with HTTP; Wed, 13 Jun 2012 16:19:06 -0700 (PDT) In-Reply-To: <20120613202325.GC5800@external.screwed.box> References: <20120613202325.GC5800@external.screwed.box> Date: Wed, 13 Jun 2012 19:19:06 -0400 Message-ID: From: "illoai@gmail.com" To: Peter Vereshagin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: `ls -l` shows size of file other than of the folder? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2012 23:19:07 -0000 On 13 June 2012 16:23, Peter Vereshagin wrote: > Hello. > > I have the directory in the file system with 2 regular files each =A0of = =A0which =A0is > sized as 700M according to 'ls -l'. =A0But the torrent client and 'du -s'= and =A0'ls > -l's 'total' show that the directory size is 300M. > > How can that be? =A0Are there different file sizes =A0stored =A0on =A0a = =A0ufs1 =A0in =A0their > metadata? > > ot the least how could I see the 'real' size of each of those files, both= =A0~150M > actulally, with a system command? > The -s flag to ls(1) will show you the actual number of blocks in use (I believe it honours BLOCKSIZE, though you might want to check). --=20 --