Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hdik(8) [mojave man page]

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] hdik -e device DESCRIPTION
hdik is a simple tool that can be used to attach disk images directly to the DiskImages driver. The end result is functionally similar to passing -kernel to hdiutil(1)'s attach verb. hdik does not rely upon the presence of DiskImages or other high-level frameworks. The DiskImages driver only supports a selection of disk image formats: UDRW, UDRO, UDZO, ULFO, SPARSE (UDSP). It also supports shadow files. hdiutil(1)'s imageinfo verb indicates whether a particular image is kernel compatible. hdik requires root access to perform its functions. In the first form, an image to attach must be provided: imagefile path to the disk image file to attach. In its second form, hdik issues an eject command to the specified device. The argument is the full device node path (e.g. /dev/disk2). Any volumes mounted from the device must be unmounted first, or the command will fail. See umount(8). 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 <imagename>.shadow. If the shadow file does not exist, it is created. -nomount Suppress automatic mounting of filesystems contained within the image. 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), umount(8), ioreg(8) macOS 20 Mar 2014 macOS

Check Out this Related Man Page

c1541(1)						      General Commands Manual							  c1541(1)

NAME
c1541 - a stand alone disk image maintenance program SYNOPSIS
c1541 [options] [image] DESCRIPTION
c1541 is a stand alone program that can be used for D64, D71, D81, X64 and G64 disk image file maintenance. It is part of the VICE emula- tor. c1541 can be used both in interactive and batch mode. It will start in interactive mode if no images and no options are specified or if one image is specified; when started in interactive mode, command line editing and command history are available. Each command line option for use in batch mode has an interactive mode counterpart, that is shown in parenthesis. -attach image (attach image) attach image for use. All consequent commands in interactive mode will refer to this image. -detach image (detach image) detach image from c1541. -format image (format image 'name,id') format the disk image image with the specified label. image is created if it does not exist. -delete image files... (delete files...) delete files from image -list image (list) list directory of image. -validate image (validate) validate mage. -copy image oldname1 [oldname2...] newname (copy oldname1 [oldname2...] newname) concatenate oldname1, oldname2... into newname on image (can be used to copy files). -create image dump ['descr'] (create image dump ['descr'] build image from raw dump file dump (i.e. convert from D64 to X64 file). -tape image tapeimage [files...] (tape image tapeimage [files...]) transfer files from tapeimage to image (default is all files). -read image 1541name [fsname] (read 1541name [fsname]) extract 1541name from the disk image into fsname (1541name by default) from image. -extract image (extract). extract all files from image. -write image fsname [1541name] (write fsname [1541name]) write fsname to image as 1541name (fsname by default). (works with P00 files as well). -block [drive:] [track] [sector] [disp] (block [drive:] [track] [sector] [disp]) show disk blocks in hex format. -info image ['descr'] (info ['descr']) show version information about image. When more than one command is specified in batch mode, all of them are executed in the same order they have on the command line. If you use - as a file name, it stands for stdin or stdout. SEE ALSO
VICE(1), petcat(1) AUTHORS
Teemu Rantanen <tvr@cs.hut.fi> Ettore Perazzoli <ettore@comm2000.it> Andreas Boose <boose@linux.rz.fh-hannover.de> Jouko Valta <jopi@stekt.oulu.fi> with improvements by Olaf Seibert <rhialto@mbfys.kun.nl> Gerhard Wesp <gwesp@cosy.sbg.ac.at> VICE
January 1999 c1541(1)
Man Page