hmount man page on YellowDog

Man page or keyword search:  
man Server   18644 pages
apropos Keyword Search (all sections)
Output format
YellowDog logo
[printable version]

HMOUNT(1)							     HMOUNT(1)

NAME
       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 pathname 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  the source medium is partitioned, one partition must be selected to
       be mounted. If there is only one HFS partition on the medium,  it  will
       be selected by default. Otherwise, the desired partition number must be
       specified (as the ordinal nth HFS partition) on the command-line.  Par‐
       tition  number 0 can be specified to refer to the entire medium, ignor‐
       ing what might otherwise be perceived as a partition map,  although  in
       practice	 this is probably only useful if you want this command to fail
       when the medium is partitioned.

       The mounted volume becomes "current" so subsequent commands will	 refer
       to it.  The current working directory for the volume is set to the root
       of the volume.  This information 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.

EXAMPLES
       % hmount /dev/fd0
	      If  a  Macintosh floppy disk is available as /dev/fd0, this com‐
	      mand makes the floppy current for other  HFS  commands  such  as
	      hls(1), hcd(1), hcopy(1), etc.

       % hmount /dev/sd2 1
	      If  a SCSI disk is available as /dev/sd2, this command finds the
	      first HFS partition on the medium and  makes  it	available  for
	      other HFS operations.

NOTES
       hmount  does  not actually mount an HFS partition over a UNIX directory
       in the traditional mount(8) sense. It is merely a "virtual" mount, as a
       point  of convenience for future HFS operations. Each HFS command inde‐
       pendently opens, operates on, and closes the named source path given to
       hmount.

SEE ALSO
       hfsutils(1), hformat(1), humount(1), hvol(1)

FILES
       $HOME/.hcwd

AUTHOR
       Robert Leslie <rob@mars.org>

HFSUTILS			  08-Nov-1997			     HMOUNT(1)
[top]

List of man pages available for YellowDog

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net