manpagez: man pages & more
man hdik(8)
Home | html | info | man

hdik(8)                   BSD System Manager's Manual                  hdik(8)


NAME

     hdik -- lightweight tool to attach and mount disk images in-kernel


SYNOPSIS

     hdik imagefile [options]


DESCRIPTION

     hdik is a lightweight tool that can be used to attach disk images in-ker-
     nel (i.e. without a user-land process to provide the backing store).
     Only a subset of disk images can be mounted in this manner including
     read/write disk images, UDIF disk images that use zlib compression, shad-
     owed disk images, and sparse disk images.

     hdik is intended for use in situations where linking against the DiskIm-
     ages framework is problematic or an extremely lightweight mechanism for
     attaching a disk image is needed.

     You can specify that the image should not be processed by Disk Arbitra-
     tion by specifying the -nomount option.  You can also specify that the
     image be mounted with a shadow file by using the -shadow option.

     The following argument must be specified:

     imagefile   the disk image to be mounted.


OPTIONS

     -shadow [shadowfile]
                 Use a shadow file in conjunction with the data in the image.
                 This option prevents modification of the original image and
                 allows read-only images to be used as read/write images.
                 When blocks are being read from the image, blocks present in
                 the shadow file override blocks in the base image.  When
                 blocks are being written, the writes will be redirected to
                 the shadow file.  If not specified, -shadow defaults to <ima-
                 gename>.shadow.  If the shadow file does not exist, it is
                 created.
     -nomount    Suppress automatic mounting of the image or partitions on it.
                 This will result in /dev entries being created, but will not
                 mount any volumes.
     -drivekey keyname=value
                 Specify a key/value pair for the IOHDIXHDDrive object created
                 (shows up in the IOKit registry of devices which is viewable
                 with ioreg(8)).


SEE ALSO

     hdiutil(1), diskarbitrationd(8), diskutil(8), ioreg(8)

Mac OS X                          29 Apr 2003                         Mac OS X

Mac OS X 10.9 - Generated Thu Oct 17 07:48:03 CDT 2013
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.