On Wed, 16 May 2007, Hugh McIntyre wrote:
Ian Murdock wrote:
> As I'll say till I'm blue in the face, I'm as obsessed with
> compatibility as anyone here. But I have to ask: What exactly
> would break if -h *were* the default behavior?
All of the (admittedly limited) versions of Linux I've tried provide "df -k"
as the default, not "df -h". Reporting disk usage in KB rather than 512B as
"df -k" does (and SunOS 4.x used to do) is the only true way. of course :)
No matter, I think that Ian makes a good point. I use -h most of the time
when I use many of the utilities, df most certainly.
Why would we not want to make that the default?
I understand that it could break backward compatibility, if people are
parsing the output, but in some cases change in inevitable.
I personally think it makes sense to present the user (a.k.a. a human)
with human comprehendable data whenever possible.
--
Alan DuBoff - Solaris x86 IHV/OEM Group
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org