NetBSD Problem Report #58022

From www@netbsd.org  Sat Mar  9 20:37:10 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8E82B1A923B
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  9 Mar 2024 20:37:10 +0000 (UTC)
Message-Id: <20240309203209.295C71A9241@mollari.NetBSD.org>
Date: Sat,  9 Mar 2024 20:32:09 +0000 (UTC)
From: michael.cheponis@gmail.com
Reply-To: michael.cheponis@gmail.com
To: gnats-bugs@NetBSD.org
Subject: man page for 'df' is inconsistent with actual program
X-Send-Pr-Version: www-1.0

>Number:         58022
>Category:       bin
>Synopsis:       man page for 'df' is inconsistent with actual program
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 09 20:40:00 +0000 2024
>Last-Modified:  Sun Mar 10 10:10:02 +0000 2024
>Originator:     Mike Cheponis
>Release:        10.0_RC5
>Organization:
self
>Environment:
NetBSD SS.Culver.Net 10.0_RC5 NetBSD 10.0_RC5 (GENERIC) #0: Tue Feb 27 05:27:39 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
I used to use alias df to "df -H"

Now, running that reports:


df: unknown option -- H
Usage: df [-agln] [-Ghkm|-ihkm|-Pk] [-t type] [file | file_system ...]


man df reports

     -H      As with -h but using powers of 10 (1000) rather than 2 (1024).



Is it still possible to get the same effect from 'df' -- that is, output using powers of 10?
>How-To-Repeat:
run "df -H"
>Fix:
Adjust man page to the -H switch is not shown  and/or is listed as previously existing, but removed (for some reason).

Double-check to make sure all the 'df' switches are properly documented.

>Audit-Trail:
From: matthew green <mrg@eterna23.net>
To: gnats-bugs@netbsd.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: re: bin/58022: man page for 'df' is inconsistent with actual program
Date: Sun, 10 Mar 2024 21:09:37 +1100

 > df: unknown option -- H
 > Usage: df [-agln] [-Ghkm|-ihkm|-Pk] [-t type] [file | file_system ...]

 this seems like another issue related to your partial update issue.

 you have a new df.1 but an old /bin/df.  please unpack the -10 sets
 again -- whatever is going on is gonna keep having weirdness until
 you do this.


 .mrg.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.