Skip to content
Commits on Nov 12, 2015
  1. PR/50422: Robert Elz: df -G prints the wrong value for fragsize (+FIX)

    christos committed
    For df -G, print the block and fragment size instead of the iosize
    and the blocksize. If we need to print the iosize, it should be done
    in a different field. Nevertheless printing the blocksize in the fragment
    size field is just wrong.
    XXX: pullup-6, pullup-7
Commits on Jan 7, 2012
  1. use strspct.

    christos committed
Commits on Aug 29, 2011
  1. Use the same column spacing for the -h output as with the normal output,

    gson committed
    as the same header line format is used in both cases and it can't line
    up correctly with both of them otherwise.
Commits on Aug 28, 2011
  1. - static/__dead

    christos committed
    - use strpct from libutil
    - fix off by one in format
Commits on Aug 14, 2011
  1. Document non-literal formats

    christos committed
Commits on Apr 5, 2010
  1. \\ -> \e

    joerg committed
Commits on Jun 6, 2009
  1. block numbers are measured in f_frsize units. Make -P option

    mlelstv committed
    use this instead of f_bsize. Also account for reserved blocks
    like normal non-P output.
    Fixes PR bin/41541.
Commits on Feb 14, 2009
  1. Default to WARNS=4 (except for rcp & ksh)

    lukem committed
Commits on Jan 25, 2009
  1. sign-compare fix for amd64

    lukem committed
Commits on Jan 18, 2009
  1. fix -Wsign-compare issues

    lukem committed
Commits on Jul 20, 2008
Commits on May 26, 2008
  1. PR/38755: murray armfield: /bin posix programs missing setprogname an…

    christos committed
    …d/or
    
    setlocale
Commits on Mar 4, 2008
  1. sort options from anon ymous

    christos committed
  2. do the -g -G swap for real.

    christos committed
  3. PR/36817: Zafer Aydogan: Don't use -g to implement the same named option

    christos committed
    in solaris to display statvfs output, use -G instead. I researched this
    and all other implementations except Solaris (OS/X, FreeBSD, us before June
    24, 2007) use -g to signify gigabytes. So revert to that.
    PR/38154: YAMAMOTO Takashi: df -P doesn't work without -k. Fix from Anon Ymous
    together with passing lint, and exiting with the right values.
Commits on Dec 22, 2007
Commits on Dec 21, 2007
  1. don't cast 64bit values to u_long.

    yamt committed
Commits on Jul 17, 2007
  1. kill MFSNAMELEN

    christos committed
Commits on Jul 16, 2007
  1. Fix '-Ph' segfault; from Greg Woods

    christos committed
Commits on Jul 3, 2007
  1. spacing fixes from Geoff Wing

    christos committed
Commits on Jun 24, 2007
Commits on Jan 28, 2007
Commits on Sep 4, 2006
  1. fix formatting of df -h; from Zafer.

    christos committed
Commits on Aug 21, 2006
  1. -h and -[mgk] are mutually exclusive. Only use the last specified. [f…

    christos committed
    …rom zafer]
    
    Use one variable instead of 3 flags to hold the scale, so that we don't have
    to reset each flag.
Commits on Mar 17, 2006
  1. Handle malloc returning NULL.

    rumble committed
Commits on Jan 13, 2006
Commits on Nov 18, 2005
Commits on Jun 26, 2005
Commits on Dec 31, 2004
Commits on Jul 17, 2004
  1. Drop LSBs when denominator is big.

    enami committed
Commits on Jul 7, 2004
  1. Remove now unnecesary/incorrect cast.

    enami committed
  2. - Remove unnecessary empty line.

    enami committed
    - Wrap long line.
Commits on Jul 4, 2004
  1. Available block count may be negative - so make the calculation signed.

    martin committed
    This avoids output like:
    Filesystem      1K-blocks     Used     Avail Capacity  Mounted on
    /dev/wd1a           11799    11276 9223372036854775741   100%    /boot
Something went wrong with that request. Please try again.