DFX takes the output of the UNIX command
df and gives an approximation of the amount of space free. This is given is a textual description, which is one of 'Enough space to install Oracle.', 'Acres of space.', 'Lots of space.', 'Some space...', 'Almost out of space!', or 'OUT OF SPACE!!!'.
This was written in Perl when I was first learning it. It is, in fact, my first Perl program. The idea was taken from an idea by David Cantrell of wiredstation.co.uk fame on the (void) emailing list. It simply reads the percentage of the diskspace used from the
df UNIX command and outputs a simple message determined by this. It's simple and may be modified easily.
The current version, tarred and gzipped, may be found at dfx-0.03.0.tar.gz. This is version 0.03.0 and includes a manpage, README file, and Perl source.
I didn't exactly update it, but someone else did. John Luciani submitted "df3" to me via email. Being a Perl wizard, he made it shorter, more elegant, stricter, and made me feel really small and feeble. (John has also rewritten some of my other programs in Perl, most of which were originally in C.) His version replaces the old one (because I already wrote over the old file. *Whoops!*). So download it!
I not only lost version 2, I also lost version 3!
The (void) mailing list gets mention across this site a bit so let's
go into a bit more detail. It was an email list of 20-something absurdist
geeks. They mostly talked about music, culture, and tech, but all with a
tongue-in-cheek flare. I watched; they were older and more confident than
I, so I mostly took notes. One December, they talked about Depeche Mode,
so I asked my mother for a Depeche Mode CD for Christmas in addition to
the normal list of rock music I wanted; she got everything but the Depeche
Mode because she couldn't find it in the rock section and when she asked
the clerk he started guiding her towards the "pop/dance" section.
must be a mistake, she told him.
Elsewhere, thanks Mr. Luciani for steering me in a direction.