hmount - introduce a new HFS volume and make it current
SYNOPSIS
hmount source-path [partition-no]
DESCRIPTION
hmount is used to introduce a new HFS volume. A UNIX path-
name to the volume's source must be specified. The source
may be a block device or a regular file containing an HFS
volume image.
If a partition number n is specified and the volume source
is located on a partitioned medium, the nth HFS partition
on the source will be mounted. By default, the first HFS
partition found is mounted.
The mounted volume becomes "current" so subsequent com-
mands will refer to it. The current working directory for
the volume is set to the root of the volume. This infor-
mation is kept in a file named .hcwd in the user's home
directory.
If the source medium is changed (e.g. floppy or CD-ROM
disc exchanged) after hmount has been called, subsequent
HFS commands will fail until the original medium is
replaced or a different volume is made current. To use the
same source path with the different medium, reissue the
hmount command.
SEE ALSO
hfsutils(1), hformat(1), humount(1), hvol(1)
FILES
$HOME/.hcwd
BUGS
Relative source pathnames are never made absolute, and so
may cause problems if your UNIX current working directory
changes. Absolute pathnames are therefore recommended.
AUTHOR
Robert Leslie <rob@mars.org>