GROWISOFS(1m)
๐ growisofs โ the manual, but make it make sense ๐
okay so bestie, you're reading the GROWISOFS(1m) page, which honestly is a lot of manual for one little binary, but she's iconic so we're doing it. grab a strawberry drink ๐ and let's go.
โจ NAME โจ
growisofs โ the combined mkisofs frontend slash DVD recording program. she does both. main character energy fr fr. ๐
๐ SYNOPSIS ๐
growisofs [-dry-run] [-dvd-compat] [-overburn] [-speed=1] -[Z|M]
/dev/dvd <mkisofs-options>
that's the whole vibe. -Z or -M, the device, and then all your mkisofs options trailing behind like a little entourage. ๐ฆ
๐ DESCRIPTION ๐
so originally growisofs was just supposed to be a frontend to mkisofs โ like, a cute little helper so you could append data to ISO9660 volumes sitting on random-access media. and when we say random-access media we mean stuff like DVD+RW, DVD-RAM, plain files, hard disk partitions. lowkey humble beginnings.
but then she grew up. ๐ง during development, general-purpose DVD recording support got implemented, and as of now growisofs doesn't just do random-access media โ she also handles mastering of multisession DVD media like DVD+R and DVD-R/-RW, and Blu-ray Disc too. yes ma'am.
on top of all that, growisofs also supports first-/single-session recording of arbitrary pre-mastered images to all supported DVD media types โ and by arbitrary we mean formatted as UDF, ISO9660, or literally any other file system, if it's formatted at all. no cap.
๐ธ OPTIONS ๐ธ
-Z /dev/dvdโ burn an initial session to the device you picked. there's also a special form of this option that gets recognized so you can burn pre-mastered images โ peep the EXAMPLES section for the deets. ๐ฅ-M /dev/dvdโ merge a new session onto one that already exists. it's giving "and another one." ๐-versionโ print version info and invokemkisofs, also with the-versionoption. she brings a friend. ๐ซถ-dvd-compatโ gives you maximum media compatibility with DVD-ROM/-Video. in write-once DVD+R or DVD-R context this means unappendable recording (closed disk, periodt). in DVD+RW context it tells the logical unit to explicitly burn the [otherwise optional] lead-out. โญ-dry-runโ at dry-run,growisofsdoes every single step up to but not including the first write operation. most notably, the check for the "overburn" condition gets performed, which impliesmkisofsis invoked and then terminated prematurely. like a rehearsal, bestie. ๐-overburnโ okay so normally single layer DVD media can hold up to approximately4.700.000.000bytes (in marketing speech, 4.7GB). in other words a DVD can contain about 4.377 GiB or 4482 MiB. same kind of arithmetics applies to Blu-ray Disc capacity of25.000.000.000bytes. anyway:growisofswon't start without this option if the "overburn" condition appears to be unavoidable. she's dramatic but she's safe. ๐-speed=Nโ an option to control recording velocity. most commonly you'll use-speed=1with "no-name" media, if the default speed setting messes up the media. keep in mind thatNessentially denotes the speed closest toN*1385KBpsin the DVD case orN*4496KBpsin the Blu-ray Disc case, among those offered by the unit for currently mounted media. the list can be found indvd+rw-mediainfooutput. also note that Blu-ray Disc recordings are commonly performed at ~1/2 of advertised speed, because defect management is in effect. ๐<mkisofs-options>โ more options can be found in the manpage formkisofs.
also there are several undocumented options commonly denoted with the -use-the-force-luke prefix. some of them serve debugging purposes. some require certain knowledge about the recording process or even OS kernel internals, and being such, they can induce confusing behaviour. some are meant for very specific situations better recognized by front-ends or automated scripts. the rationale behind leaving these options undocumented is that those few users who would actually need to use them directly can as well consult the source code or obtain specific instructions elsewhere.
like... iykyk. ๐ฎ
๐ฆ DIFFERENCES WITH RUNNING MKISOFS DIRECTLY ๐ฆ
- when using
growisofsyou may not use the-ooption for an output file.growisofsdumps the image directly to the media. - you don't have to specify the
-Coption to create a higher level session on a multisession disk โgrowisofswill construct one for you. she's thoughtful like that. ๐
otherwise, everything that applies to [multisession] mastering with mkisofs applies to growisofs as well. growisofs needs at least mkisofs version 1.14, and version 2.0 is required for multisession write-once recordings. don't skip the update check bestie. โญ
๐ EXAMPLES ๐
actual device names vary from one operating system to another, so we use /dev/dvd as a collective name, or as a symbolic link to the actual device if you wish. ๐ซ
- under Linux it will most likely be an ide-scsi device such as
"/dev/scd0." - under NetBSD/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-ROM device, 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. consistency is the vibe check. โจ
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 the command name is not intuitive in this context. ๐ญ she knows. she's aware. we still love her.
๐ NOTES ๐
if executed undersudo(8),growisofsrefuses to start. ๐จ
and here's why, bestie, because this is a real one. naturally growisofs has to access the data set to be recorded to optical media โ either indirectly by letting mkisofs generate the ISO9660 layout on-the-fly, or directly if a pre-mastered image is to be recorded. being executed under sudo(8), growisofs effectively grants sudoers read access to any file in the file system. the situation is intensified by the fact that growisofs parses the MKISOFS environment variable in order to determine an alternative path to the mkisofs executable image. which means: being executed under sudo(8), growisofs effectively grants sudoers the right to execute a program of their choice with elevated privileges. ๐๐๐
if you for any reason still find the above acceptable and are willing to take the consequences, then consider running the following wrapper script under sudo(8) in place of the real growisofs binary:
#!/bin/ksh
unset SUDO_COMMAND
export MKISOFS=/path/to/trusted/mkisofs
exec growisofs "$@"
but note that the recommended alternative to the above "workaround" is actually to install growisofs set-root-uid, in which case it will drop privileges prior to 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 the -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 to prepare media for unattended usage by re-formatting or nullifying the first 64KB in advance. ๐ซถ
"Overburn" protection in the pre-mastered image context works only with plain files and ISO9660 formatted volumes. e.g. [given that /dev/root is an ext2 formatted file system larger than 4.7GB] /dev/dvd=/dev/root is bound to produce corrupted recording. not a slay. ๐ซ
note that the 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 reflectivity of 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, and even less are aware of DVD+R multisessioning โ burner unit therefore might be the only one 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 ALSO ๐ฅ
most up-to-date information on dvd+rw-tools is available at http://fy.chalmers.se/~appro/linux/DVD+RW/.
the manpage for mkisofs.
๐ AUTHORS ๐
Andy Polyakov <appro@fy.chalmers.se> stands for programming and on-line information.
this manpage is currently maintained by Huub Reuver <h_reuver@mantell.xs4all.nl>.
โญ LICENSE โญ
growisofs is distributed under GNU GPL.
okay that's the whole thing, you made it to the end, proud of you ๐ซถ โ this was growisofs 7.1, dated 1 Mar 2008, filed under GROWISOFS(1m). now go burn something (responsibly, and not under sudo). ๐
๐
๐ฆ where this page comes from
- alpine 3.24: dvd+rw-tools-doc 7.1-r4 ยท GPL
- nixos 26.05: dvd+rw-tools 7.1
- nixpkgs unstable: dvd+rw-tools 7.1
- opensuse-leap 16.0: dvd+rw-tools 7.1-bp160.1.13 ยท GPL-2.0-or-later
- opensuse-leap 16.0: dvd+rw-tools 7.1-bp160.1.13 ยท GPL-2.0-or-later
- opensuse-leap 16.0: dvd+rw-tools 7.1-bp160.1.13 ยท GPL-2.0-or-later
- opensuse-leap 16.0: dvd+rw-tools 7.1-bp160.1.13 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms