From owner-freebsd-doc@FreeBSD.ORG Sun Aug 21 15:20:12 2005 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 490BC16A420 for ; Sun, 21 Aug 2005 15:20:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ACF343D72 for ; Sun, 21 Aug 2005 15:20:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7LFK7hK072852 for ; Sun, 21 Aug 2005 15:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7LFK7e7072838; Sun, 21 Aug 2005 15:20:07 GMT (envelope-from gnats) Resent-Date: Sun, 21 Aug 2005 15:20:07 GMT Resent-Message-Id: <200508211520.j7LFK7e7072838@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, garys@opusnet.com Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47FA516A420 for ; Sun, 21 Aug 2005 15:12:06 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED53043D45 for ; Sun, 21 Aug 2005 15:12:05 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id A9C4FCF00CA; Sun, 21 Aug 2005 08:12:04 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j7LFDQ4F032205 for ; Sun, 21 Aug 2005 08:13:26 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j7LFDLen032204; Sun, 21 Aug 2005 08:13:21 -0700 (PDT) (envelope-from garys@opusnet.com) Message-Id: Date: Sun, 21 Aug 2005 08:13:21 -0700 From: "Gary W. Swearingen" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: docs/85187: find(1) manpage missing block info for -ls X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: garys@opusnet.com List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2005 15:20:12 -0000 >Number: 85187 >Category: docs >Synopsis: find(1) manpage missing block info for -ls >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 21 15:20:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 5.4-RELEASE i386 >Organization: none >Environment: n/a >Description: 1) Manpage find(1) -ls description says "size in 512-byte blocks", where it should have "number of 512-byte file system blocks used". 2) It says "ls -dgils." where it should say "ls -dgils, when the environment has BLOCKSIZE=512". 3) It says "identical" where it should say "identical (excepting whitespace)". >How-To-Repeat: $ sh -c 'BLOCKSIZE=k ls -dgils /boot/kernel/kernel' 12259 3504 -r-xr-xr-x 1 root wheel 3569441 Jul 24 10:15 /boot/kernel/kernel $ find /boot/kernel/ -name kernel -ls 12259 7008 -r-xr-xr-x 1 root wheel 3569441 Jul 24 10:15 /boot/kernel/kernel $ sh -c 'BLOCKSIZE=512 ls -dgils /boot/kernel/kernel' 12259 7008 -r-xr-xr-x 1 root wheel 3569441 Jul 24 10:15 /boot/kernel/kernel >Fix: --- find..orig.1 Sat Aug 20 22:50:51 2005 +++ find.1 Sat Aug 20 23:04:28 2005 @@ -421,16 +421,18 @@ .It Ic -ls This primary always evaluates to true. The following information for the current file is written to standard output: -its inode number, size in 512-byte blocks, file permissions, number of hard +inode number, number of 512-byte file system blocks used, +file permissions, number of hard links, owner, group, size in bytes, last modification time, and pathname. If the file is a block or character special file, the major and minor numbers will be displayed instead of the size in bytes. If the file is a symbolic link, the pathname of the linked-to file will be -displayed preceded by +displayed, preceded by .Dq Li -> . -The format is identical to that produced by +The format is identical (excepting whitespace) to that produced by .Bk -words -.Nm ls Fl dgils . +.Nm ls Fl dgils , +when the environment has BLOCKSIZE=512. .Ek .It Ic -maxdepth Ar n Always true; descend at most >Release-Note: >Audit-Trail: >Unformatted: