Namegrowisofs - combined mkisofs frontend/DVD recording program.
Apr 04, 2007 HELIOS mkisofs utility creates read-only UDF disk images for hardware independent file archives and system snapshots. HELIOS mkisofs can be used to backup critical files, or entire systems, and adds another option and different features to the category of backup and archive solutions such as Time Machine, Carbon Copy Cloner, Xtar, rsync and Disk Utility. Cdrtools for Mac. 6,332 downloads Updated: May 22, 2012 GPL. The most evolved CD-audio extraction program with paranoia support mkisofs. Here is how I went about creating a data DVD that is readable by both a Mac (OS X) and PC. First, install cdrtools. I did this by installing fink. Once that's done, then open a Terminal and type fink install cdrtools. Second, use mkisofs to create an image to burn. The command I used went something like this:% mkisofs -J -r -o myimage.iso datadir.
Give the Partition a name, make sure the format is Mac OS Extended (Journaled) and click 'Apply'. If the Scheme is set to GUID Partition Map, skip to step 4. If not, click the Erase tab, change. With built-in cross-platform support for preserving Mac and Windows file attributes, HELIOS “mkisofs” is hardware independent and creates disk images that can be read on multiple platforms. This makes HELIOS “mkisofs” suitable for long-term, archival applications where future OS and hardware requirements are unknown.
Synopsisgrowisofs [-dry-run] [-dvd-compat] [-overburn] [-speed=1]-[Z M] /dev/dvd <mkisofs-options>
Descriptiongrowisofs was originally designed as a frontend to mkisofs to facilitateappending of data to ISO9660 volumes residing on random-access media such as DVD+RW, DVD-RAM, plain files, hard disk partitions. In the course of developmentgeneral purpose DVD recording support was implemented, and as of now growisofs supports not only random-access media, but even mastering of multisessionDVD media such as DVD+R and DVD-R/-RW, as well as Blu-ray Disc. In addition growisofs supports first-/single-session recording of arbitrarypre-mastered image (formatted as UDF, ISO9660 or any other file system, if formatted at all) to all supported DVD media types.
There are several undocumented options commonly denoted with -use-the-force-luke prefix. Some of them serve debugging purposes. Some require certainknowledge about recording process or even OS kernel internals and as being such can induce confusing behaviour. Some are to be used in very specific situationsbetter recognized by front-ends or automated scripts. Rationale behind leaving these options undocumented is that those few users who would actually need touse them directly can as well consult the source code or obtain specific instructions elsewhere.
Differences with Running Mkisofs Directly
When using growisofs you may not use the -o option for an output file. growisofs dumps the image directly to the media;
You don't have to specify the -C option to create a higher level session on a multisession disk, growisofs will construct one for you;
Otherwise everything that applies to [multisession] mastering with mkisofs applies to growisofs as well. growisofs needs atleast mkisofs version 1.14, version 2.0 is required for multisession write-once recordings.
ExamplesActual device names vary from one operating system to another. We use /dev/dvd as acollective name or as symbolic link to the actual device if you wish. Under Linux it will most likely be an ide-scsi device such as '/dev/scd0.' UnderNetBSD/OpenBSD it has to be a character SCSI CD-ROM device such as '/dev/rcd0c.' Under Solaris it also has to be a character SCSI/ATAPI CD-ROMdevice, e.g. '/dev/rdsk/c0t1d0s2' or '/vol/dev/aliases/cdrom0.' And likewise in HP-UX, IRIX and Mac OS X..
To master and burn an ISO9660 volume with Joliet and Rock-Ridge extensions on a DVD or Blu-ray Disc:
growisofs -Z /dev/dvd -R -J /some/files
To append more data to same media:
growisofs -M /dev/dvd -R -J /more/files
Make sure to use the same options for both initial burning and when appending data.
To finalize the multisession DVD maintaining maximum compatibility:
growisofs -M /dev/dvd=/dev/zero
To use growisofs to write a pre-mastered ISO-image to a DVD:
growisofs -dvd-compat -Z /dev/dvd=image.iso
where image.iso represents an arbitrary object in the filesystem, such as file, named pipe or device entry. Nothing is growing here and command name is notintuitive in this context.
NotesIf executed under sudo(8) growisofs refuses to start. This is done for the following reason.Naturally growisofs has to access the data set to be recorded to optical media, either indirectly by letting mkisofs generate ISO9660 layout on-the-fly ordirectly if a pre-mastered image is to be recorded. Being executed under sudo(8), growisofs effectively grants sudoers read access to any file inthe file system. The situation is intensified by the fact that growisofs parses MKISOFS environment variable in order to determine alternative path to mkisofsexecutable image. This means that being executed under sudo(8), growisofs effectively grants sudoers right to execute program of their choice withelevated privileges. If you for any reason still find the above acceptable and are willing to take the consequences, then consider running following wrapperscript under sudo(8) in place for real growisofs binary.But note that the recommended alternative to the above 'workaround' is actually to install growisofs set-root-uid, in which case it will drop privilegesprior accessing data or executing mkisofs in order to preclude unauthorized access to the data.
If the media already carries isofs and growisofs is invoked with -Z option non-interactively, e.g. through cron, it shall fail with 'FATAL:/dev/dvd already carries isofs!' Note that only ISO9660 is recognized, you can perfectly zap e.g. an UDF filesystem non-interactively. Recommendation is toprepare media for unattended usage by re-formatting or nullifying first 64KB in advance.
'Overburn' protection in pre-mastered image context works only with plain files and ISO9660 formatted volumes. E.g. [given that /dev/root is an ext2formatted file system larger than 4.7GB] /dev/dvd=/dev/root is bound to produce corrupted recording.
Note that DVD+RW re-formatting procedure does not substitute for blanking. If you want to nullify the media, e.g. for privacy reasons, do it explicitly with'growisofs -Z /dev/dvd=/dev/zero'.
Playback of re-writable DVD media, both DVD+RW and DVD-RW, might be limited in legacy DVD-ROM/-Video units. In most cases this is due to lower reflectivityof such media.
Even though growisofs supports it, playback of multisession write-once DVD might be limited to the first session for two reasons:
- not all DVD-ROM players are capable of multi-border DVD-R playback, even less are aware of DVD+R multisessioning, burner unit therefore might be the onlyone in your vicinity capable of accessing files written at different occasions;
- OS might fail to mount multisession DVD for various reasons;
The above is not applicable to DVD+RW, DVD-RW Restricted Overwrite, DVD-RAM or Blu-ray Disc, as volumes are grown within a single session.
When growisofs 'runs into' blank Blu-ray Disc media, BD-RE or BD-R, it gets pre-formatted with minimal spare area size of 256MB.
See AlsoMost up-to-date information on dvd+rw-tools is available athttp://fy.chalmers.se/~appro/linux/DVD+RW/.
The manpage for mkisofs.