LIFDIR Manual Page
lifdir - print a directory of a LIF disk or image
lifdir -f <LIF image file>
lifdir reads the directory of a physical LIF disk or a LIF
disk image and prints this directory to standard output.
If the volume label is non-blank, then this is printed
first, followed by the date of formatting if this is valid.
Each subsequent line contains the details of a single file,
consisting of the file name, file type (see the FILE TYPE
section below), the number of bytes in the file and the
total number of bytes occupied by the blocks of that file,
and finally the file time and date stamp if this is valid.
-f Produce a directory listing for a LIF disk image file
rather than a physical device.
-? Print a message giving the program usage to standard
The following file types are recognised by this version of
TEXT An HP Text file (or LIF1 format file).
An HP71B SDATA file or HP41C data file.
An HP71B data file.
An HP71B binary program file.
An HP71B language extension file.
An HP71B keyboard definition file.
An HP71B tokenised BASIC program.
An HP71B forth dictionary file.
An HP41C Write-All file.
An HP41C key assignment file.
An HP41C status file.
An HP41C program.
An HP75 text file.
An HP75 appointments file.
An HP75 language extension file.
An HP75 tokenised BASIC program.
An HP75 Visicalc worksheet
Unknown file types are printed as a 4-digit hex number
giving the value of the 2 file type bytes from the
directory. See lif_dir_utils.c for details of the file
If disk1.lif is a LIF disk image file then
lifdir -f disk1.lif
will print a directory listing of that image file.
Similarly, if /dev/fd1 contains a physical LIF disk then
will print a directory listing of that disk.
The LIF disk directory format is documented in the HP-IL
Interface Owners Manual for the with further details
(particularly HP41 and HP75 file types) in the HP-41
Synthetic Quick Reference Guide (Jeremy
No attempt has been made to handle bad track replacements on
a LIF disk. Not all file types have been tested.
lifdir was written by Tony Duell, email@example.com
and has been placed under the GNU Public License version 2.0