bug#7042: df --help does not show `-m' option (original) (raw)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: | Eric Blake |
---|---|
Subject: | bug#7042: df --help does not show `-m' option |
Date: | Thu, 16 Sep 2010 12:21:39 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.3 |
On 09/16/2010 09:20 AM, Pádraig Brady wrote:
On 16/09/10 12:59, Petr Pisar wrote:
Hello,
I found
df' utility from coreutils-8.5 does not describe
-m' option that is mentioned in info page and the program accepts it.-- Petr
-m was deprecated in 2001 http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=d1772031
It is not mentioned in the info page as far as I can see It's not specified by POSIX It's not used in solaris It is used in FreeBSD
Oh - I only tested MirBSD (which is more like OpenBSD).
So this is much the same argument as supporting
dd bs=1m
http://lists.gnu.org/archive/html/coreutils/2010-09/msg00028.htmlAlso there was a previous request for
df -g
anddu -g
http://lists.gnu.org/archive/html/bug-coreutils/2009-12/msg00000.html
Yeah, the 'existing implementation' argument does carry some weight (then again, witness my patch today to nuke 'rm -d' even though that was also based on the 'existing implementation' argument).
The only reason one would support these is for compat with FreeBSD, and if we did, we wouldn't want to promote their use through documentation.
Or, maybe what we should do is:
now:
make 'du--megabytes' issue a warning (it is the wrong word for what it does).
document -m, with --block-size=M as the long-option spelling add -g, with --block-size=G as the long-option spelling
in a few years: remove 'du --megabytes' altogether
-- Eric Blake address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
- bug#7042: df --help does not show `-m' option, Petr Pisar, 2010/09/16
- bug#7042: df --help does not show `-m' option, Pádraig Brady, 2010/09/16
* bug#7042: df --help does not show `-m' option**,_Eric Blake_ **<=**
* **bug#7042: df --help does not show `-m' option, Paul Eggert, 2010/09/16
* bug#7042: df --help does not show `-m' option, Pádraig Brady, 2010/09/17
* bug#7042: df --help does not show `-m' option, Erik Auerswald, 2010/09/17
* bug#7042: df --help does not show `-m' option, Andreas Schwab, 2010/09/17 - bug#7042: df --help does not show `-m' option, Eric Blake, 2010/09/16
- bug#7042: df --help does not show `-m' option, Pádraig Brady, 2010/09/16
- Prev by Date:bug#6402: [PATCH] rm: remove no-op -d option
- Next by Date:bug#7042: df --help does not show `-m' option
- Previous by thread:bug#7042: df --help does not show `-m' option
- Next by thread:bug#7042: df --help does not show `-m' option
- Index(es):