lifinit

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
REFERENCES
AUTHOR

NAME

lifinit - initialize a lif image file

SYNOPSIS

lifinit [-z] -m Mediumtype [-p] <LIF image file> <number of directory entries>

lifinit -?

DESCRIPTION

lifinit initializes the LIF image file specified by LIF image file with number of directory entries

OPTIONS

-m

This mandatory option specifies the medium type. The following medium types are supported:

cass: Initializes a medium with the size of a HP82161A cassette
disk: Initializes a medium with the size of a HP9114B double sided disk
hdrive1: Initializes a medium with the size of a 640 KB disk
hdrive2: Initializes a medium with the size of a 2 MB disk
hdrive4: Initializes a medium with the size of a 4 MB disk
hdrive8: Initializes a medium with the size of a 8 MB disk
hdrive16: Initializes a medium with the size of a 16 MB disk

-z

Initialize the data area of the image with zeros.

-p

Initialize a LIF file system on a floppy disk. Note: this option is only supported on LINUX. Specify the floppy device instead of the lif-image-filename. See the LIFUTILS tutorial for details. -? Print a message giving the program usage to standard error.

EXAMPLES

If disk1.dat shall be created as LIF disk image file then

lifinit -m disk disk1.dat 160

will create the lif image file disk1.dat with a directory size of 160 entries. The command creates the disk header and an empty directory. The header is initialized with the parameters of the HP9114B double sided disk medium.

REFERENCES

The LIF disk format is documented in the HP-IL Interface Owners Manual for the HP-71 (Hewlett-Packard) with further details (particularly HP41 and HP75 file types) in the HP-41 Synthetic Quick Reference Guide (Jeremy Smith)

AUTHOR

lifinit was written by Joachim Siebold, bug400@gmx.de using code from Tony Duell, ard@p850ug1.demon.co.uk and has been placed under the GNU Public License version 2.0