Menu

Tree [8a6620] default tip /
 History

Read Only access


File Date Author Commit
 man 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 mkc_config 2025-03-04 Brad Lanam Brad Lanam [cdd728] 5.0.14: cleanup, fixes
 mkconfig 2025-02-23 Brad Lanam Brad Lanam [b29605] build: cleanup; build: netbsd
 po 2025-01-26 Brad Lanam Brad Lanam [602ace] wip: localization
 tests 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 utils 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 web 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 wiki 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 .hgignore 2025-02-04 Brad Lanam Brad Lanam [71c237] wip: testing fixes
 .hgtags 2025-03-10 Brad Lanam Brad Lanam [8a6620] Added tag 6.0.0 for changeset 24af170f12ca
 CMakeLists.txt 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 LICENSE.txt 2025-01-08 Brad Lanam Brad Lanam [8b830a] wip: re-work: cleanup
 Makefile 2025-02-23 Brad Lanam Brad Lanam [b29605] build: cleanup; build: netbsd
 README.txt 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 VERSION.txt 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 config.h.in 2025-03-04 Brad Lanam Brad Lanam [cdd728] 5.0.14: cleanup, fixes
 di.c 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 di.h 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 di.pc.in 2025-02-23 Brad Lanam Brad Lanam [b29605] build: cleanup; build: netbsd
 didiskutil.c 2025-03-04 Brad Lanam Brad Lanam [46c48b] cleanup
 digetentries.c 2025-02-02 Brad Lanam Brad Lanam [b507c3] wip: updates for windows
 digetinfo.c 2025-02-08 Brad Lanam Brad Lanam [b89f8c] LFS flags; fix Makefile so it does not hide err...
 diinternal.h 2025-01-28 Brad Lanam Brad Lanam [32cf63] wip: sol-cc; h as default; update doc
 dilib.c 2025-03-10 Brad Lanam Brad Lanam [24af17] fix crash during processing, abi change
 dimath.h 2025-02-23 Brad Lanam Brad Lanam [b29605] build: cleanup; build: netbsd
 dimathtest.c 2025-02-23 Brad Lanam Brad Lanam [b29605] build: cleanup; build: netbsd
 dimntopt.h 2025-01-16 Brad Lanam Brad Lanam [94867b] wip: more cleanup
 dioptions.c 2025-03-04 Brad Lanam Brad Lanam [46c48b] cleanup
 dioptions.h 2025-03-04 Brad Lanam Brad Lanam [e973d5] di_strtok; fix parselist
 diquota.c 2025-02-09 Brad Lanam Brad Lanam [aff2b2] arch build; fix pure cmake on macos
 diquota.h 2025-01-27 Brad Lanam Brad Lanam [abe96c] wip: various fixes; sco openserver
 distrutils.c 2025-03-04 Brad Lanam Brad Lanam [e973d5] di_strtok; fix parselist
 distrutils.h 2025-03-04 Brad Lanam Brad Lanam [e973d5] di_strtok; fix parselist
 disystem.h 2025-02-03 Brad Lanam Brad Lanam [3192c6] wip: more testing; solaris 10
 dizone.c 2025-01-28 Brad Lanam Brad Lanam [0432f9] wip: solaris gcc,clang working
 dizone.h 2025-01-28 Brad Lanam Brad Lanam [0432f9] wip: solaris gcc,clang working
 getoptn.c 2025-02-08 Brad Lanam Brad Lanam [358dab] 5.0.5
 getoptn.h 2025-02-06 Brad Lanam Brad Lanam [10e622] fix incorrect opts len

Read Me

di - disk information utility

Website: https://diskinfo-di.sourceforge.io/
SourceForge: https://sourceforge.net/projects/diskinfo-di/

CONTENTS
  Important Notes: Version 5/6
  Description
  Documentation
  Installation
  Requirements
  Porting Help
  Acknowledgements
  Copyright

IMPORTANT NOTES: VERSION 5/6  (2025-3-10)

  Version 5's code base has changed.  The build process has changed and
  optionally uses cmake (3.13+). The display processing is entirely new code.
  Version 6 had an ABI change to fix a crash.

  Version 5/6 installs a shared library that can be used to get the disk
  space or percentages.

  Version 5/6 is very new, and there could still be errors.

DESCRIPTION

  'di' is a disk information utility, displaying everything
  (and more) that your 'df' command does. It features the
  ability to display your disk usage in whatever format you
  prefer. It is designed to be highly portable. Great for
  heterogenous networks.

DOCUMENTATION

  wiki:         https://sourceforge.net/p/diskinfo-di/wiki/Home/
  Change Log:   https://sourceforge.net/p/diskinfo-di/wiki/ChangeLog
  Test Results: https://sourceforge.net/p/diskinfo-di/wiki/Testing

INSTALLATION

  To build:
    make -e PREFIX=$HOME/local
    make -e PREFIX=$HOME/local install

    The build will use cmake if it is available and recent enough (3.13),
    otherwise the mkconfig configuration tool will be used.

    To use cmake in a stand-alone fashion (version 5.0.4):
        cmake -DCMAKE_INSTALL_PREFIX=$HOME/local -S . -B build
        cmake --build build
        cmake --install build

    If the GMP or libtommath library is found, it will be used,
    otherwise the numerics will be handled using standard C data types
    (long double, double, etc.).

    To turn off the use of the multi-precision libraries;
      make -e PREFIX=$HOME/local DI_USE_MATH=DI_INTERNAL

      Long doubles are quite capable, there's nothing wrong with
      building it this way (as of 2025).
    To force GMP:
      make -e PREFIX=$HOME/local DI_USE_MATH=DI_GMP
    To force libtommath:
      make -e PREFIX=$HOME/local DI_USE_MATH=DI_TOMMATH

    For OpenSUSE and others that use .../lib64, with mkconfig (cmake
    will generate the proper path):

      make -e PREFIX=$HOME/local LIBNM=lib64
      make -e PREFIX=$HOME/local LIBNM=lib64 install

REQUIREMENTS

  cmake build
    make
    cmake (3.13+)
    pkg-config
    msgfmt
    C compiler
    sed grep tr test /bin/sh
    awk (gawk/nawk/awk)
  mkconfig build
    make
    pkg-config
    msgfmt
    C compiler
    bourne/ksh/bash shell
    awk (gawk/nawk/awk)
    cat chmod ln mkdir mv rm sed test expr grep sort
  libraries:
    Linux: tirpc (nfs quotas)
    MP Math: gmp or libtommath (optional)

BUG REPORTS

    I need to know what operating system and what version of
    operating system you are on.  Also which compiler, and the version
    of the compiler.

    For build issues, capture the output from `make`, and the files
    listed below.

    For runtime issues, I want to see the output from 'di -A -a -X 5'
    and the output from your standard df command (as verbose as possible),

    Files to include in your report:

    cmake:
      build/config.h
      build/CMakeOutput.log
      build/CMakeError.log
      build/CMakeFiles/CMakeConfigureLog.yaml
    mkconfig:
      config.h
      di.env
      di.reqlibs
      mkc_files/mkconfig.log
      mkc_files/mkconfig_env.log
      mkc_files/mkc_compile.log

    Open a ticket at : https://sourceforge.net/p/diskinfo-di/tickets/
    Or e-mail : brad.lanam.di_at_gmail.com

PORTING HELP

    I use my own set of virtual machines, the gcc compile farm, and
    polarhome (which is now limited, and will probably die at some
    point).

    If you have a computer on the internet with a less common or older
    operating system, I could use access for portability testing.

    I need access to HP-UX.

ACKNOWLEDGEMENTS

    And for their comments/source/manual pages and/or bug fixes, thanks!

        J.J.Bailey
        Karl Vogel [pyramid]
        Bryan Costales
        Mark Neale
        Pat Myrto [sunOS filesystem type stuff]
        Henri Karrenbeld [sgi]
        Peter Bray
        George M. Sipe [manual page]
        Jeffrey Mogul [ultrix, osf/1, manual page, new format options]
        Th. Bullinger [help usage]
        Seth Theriault [next, tru64]
        Stephen J. Walick [SCO]
        Gerald Rinske [sgi]
        Mike Grupenhoff [linux]
        R.K.Lloyd [hpux]
        William Gibbs [xenix]
        Randy Thompson [sequent]
        Erik O'Shaughnessy [aix]
        Bill Davidsen [linux, SCO, etc., new format options]
        Fred Smith [coherent 4.2.05]
        Andrey Blochintsev [bsdi]
        Brian Ginsbach [netbsd, irix, unicos]

        et. al.

COPYRIGHT

    Copyright 1994-2025 Brad Lanam, Pleasant Hill, CA, USA
    brad.lanam.di_at_gmail.com
    https://diskinfo-di.sourceforge.io
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.