Here's the 'di.spec' file, not sure if that's useful for debian based distributions.
The debian maintainer has not updated 'di' in a long time, it is stuck on version 4.34.
https://packages.debian.org/stable/utils/di
Name: di
Version: 4.46
Release: 1%{?dist}
Summary: 'di' is a disk information utility, displaying everything (and more) that your 'df' command does.
Group: System Environment/Base
License: zlib/libpng
URL: https://gentoo.com/di/
Source0: https://sourceforge.net/projects/diskin ... z/download
Source1: https://gentoo.com/di/di-%{version}.tar.gz
Source2: http://www.fossies.org/unix/misc/di-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# Build requires: cat cp grep ln msgfmt mv rm sed sort test uname tr wc
#BuildRequires:
#Requires:
%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 also
checks the user and group quotas, so that the user
sees the space available for their use, not the system wide
disk space. It is designed to be portable across many platforms
and is great for heterogenous networks.
%prep
%setup -q
%build
make -e LOCALEDIR=/usr/share/locale
%install
test -d $RPM_BUILD_ROOT || mkdir $RPM_BUILD_ROOT
test -d $RPM_BUILD_ROOT/usr || mkdir $RPM_BUILD_ROOT/usr
make -e prefix=$RPM_BUILD_ROOT/usr install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LICENSE MANIFEST
/usr/bin/di
/usr/bin/mi
/usr/share/locale/de/LC_MESSAGES/di.mo
/usr/share/locale/en/LC_MESSAGES/di.mo
/usr/share/locale/es/LC_MESSAGES/di.mo
/usr/share/man/man1/di.1.gz
# For Mandriva 2011, change di.1.gz to di.1.xv
%changelog
request: di
Re: request: di
Got it done, uploading for the test repo now.
Re: request: di
Bump di-4.47.1
The maintainer came back after 7 years, it is available as 4.47.1 in debian sid, bullseye, buster.
It will run on all versions of MX.
The maintainer came back after 7 years, it is available as 4.47.1 in debian sid, bullseye, buster.
It will run on all versions of MX.
Re: request: di
@bll, BTW: we have a dfh program which is meant to be a more human compatible form of df. It may not suit your needs but I wanted to let you know it is available. Here is some of the usage:
It also comes in a dfh-watch flavor that periodically displays the dfh output so you can monitor the mounted disks on your system. They are part of the isomount suite of programs for easily mounting and inspecting iso files. For many Linux iso files you can combine this with chroot-rescue-scan utility to identify the versions of Linux in the mounted iso files and chroot into them.
Code: Select all
Usage: dfh [options]
List "interesting" mounted file systems for humans. Display in color and
show the back-files for loop devices.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."
-- Richard Feynman
-- Richard Feynman
Re: request: di
sending it up to the test repos now
Re: request: di
Cool! I wrote dfh and the isomount suite. I'm glad we can have both in MX. I think we can agree that df needed some work.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."
-- Richard Feynman
-- Richard Feynman