📄 growisofs.1
字号:
.TH GROWISOFS 1m "23 Sep 2006" "growisofs 7.0".SH NAMEgrowisofs \- combined mkisofs frontend/DVD recording program..SH SYNOPSIS.B growisofs[\fB\-dry\-run\fP][\fB\-dvd\-compat\fP][\fB\-overburn\fP][\fB\-speed=1\fP]\-[\fBZ|M\fP].I /dev/dvd.I <mkisofs-options>.SH DESCRIPTION\fBgrowisofs\fP was originally designed as a frontend to \fBmkisofs\fPto facilitate appending of data to ISO9660 volumes residing onrandom-access media such as DVD+RW, DVD\-RAM, plain files, hard diskpartitions. In the course of development general purpose DVD recordingsupport was implemented, and as of now \fBgrowisofs\fP supports notonly random-access media, but even mastering of multisession DVD mediasuch as DVD+R and DVD\-R/\-RW, as well as Blu-ray Disc. In addition\fBgrowisofs\fP supports first-/single-session recording of\fIarbitrary pre-mastered image\fP (formatted as UDF, ISO9660 or anyother file system, if formatted at all) to all supported DVD mediatypes..SH OPTIONS.TP.BI \-Z\ /dev/dvdBurn an initial session to the selected device. A special form of thisoption is recognized to support burning of pre-mastered images. SeeEXAMPLES section for further details..TP.BI \-M\ /dev/dvdMerge a new session to an existing one..TP.BI \-versionPrint version information and invoke \fBmkisofs\fP, also with \-versionoption..TP.BI \-dvd\-compatProvide maximum media compatibility with DVD\-ROM/\-Video. In write-onceDVD+R or DVD\-R context this results in unappendable recording(closed disk). In DVD+RW context it instructs the logical unit toexplicitly burn [otherwise optional] lead\-out..TP.BI \-dry\-runAt dry\-run \fBgrowisofs\fP performs all the steps till, but notincluding the first write operation. Most notably check for "overburn"condition is performed, which implies that mkisofs is invoked andterminated prematurely..TP.BI \-overburnNormally single layer DVD media can accommodate up to approximately4.700.000.000 bytes (in marketing speech 4.7GB). In other words a DVDcan contain about 4.377 GiB or 4482 MiB. Same kind of arithmeticsapplies to Blu-ray Disc capacity of 25.000.000.000 bytes. Anyway,growisofs won't start without this option, if "overburn" conditionappears to be unavoidable..TP.BI \-speed=NAn option to control recording velocity. Most commonly you'll use\fB\-speed=1\fP with "no\-name" media, if default speed settings messesup the media. Keep in mind that \fBN\fP essentially denotes speed\fIclosest\fP to N*1385KBps in DVD or N*4496KBps in Blu-ray Disc caseamong those offered by unit for currently mounted media. The list canbe found in \fBdvd+rw\-mediainfo\fP output. Note that Blu-ray Discrecordings are commonly performed at ~1/2 of advertised speed, becauseof defect management being in effect..TP.BI <mkisofs-options>More options can be found in the manpage for \fBmkisofs\fP..PThere are several undocumented options commonly denoted with\fB\-use\-the\-force\-luke\fP prefix. Some of them serve debuggingpurposes. Some require certain knowledge about recording process oreven OS kernel internals and as being such can induce confusingbehaviour. Some are to be used in very specific situations betterrecognized by front-ends or automated scripts. Rationale behind leavingthese options undocumented is that those few users who would actuallyneed to use them directly can as well consult the source code or obtainspecific instructions elsewhere..SH DIFFERENCES WITH RUNNING MKISOFS DIRECTLY.PWhen using growisofs you may not use the.B \-o option for an output file..B growisofsdumps the image directly to the media;.PYou don't have to specify the.B \-Coption to create a higher level session on a multisession disk,.B growisofs will construct one for you;.POtherwise everything that applies to .I [multisession] mastering with .B mkisofs applies to .B growisofs as well. .B growisofsneeds at least .B mkisofsversion 1.14, version 2.0 is required for multisession write-oncerecordings..SH EXAMPLESActual device names vary from one operating system to another. We use\fI/dev/dvd\fP as a collective name or as symbolic link to the actualdevice if you wish. Under Linux it will most likely be an ide\-scsidevice such as "/dev/scd0." Under NetBSD/OpenBSD it has to be a\fIcharacter\fP SCSI CD\-ROM device such as "/dev/rcd0c." Under Solarisit also has to be a \fIcharacter\fP SCSI/ATAPI CD\-ROM device, e.g."/dev/rdsk/c0t1d0s2" or "/vol/dev/aliases/cdrom0." And likewise inHP\-UX, IRIX and Mac OS X...To master and burn an ISO9660 volume with Joliet and Rock\-Ridgeextensions on a DVD or Blu-ray Disc: growisofs \fB\-Z\fP /dev/dvd \fB\-R \-J\fP /some/filesTo append more data to same media: growisofs \fB\-M\fP /dev/dvd \fB\-R \-J\fP /more/filesMake sure to use \fIthe same options\fP for both initial burning andwhen appending data.To finalize the multisession DVD maintaining maximum compatibility: growisofs \fB\-M\fP /dev/dvd\fB=\fP/dev/zeroTo use \fBgrowisofs\fP to write a pre-mastered ISO-image to a DVD: growisofs \-dvd\-compat \-Z /dev/dvd\fB=\fPimage.isowhere image.iso represents an arbitrary object in the filesystem, suchas file, named pipe or device entry. Nothing is growing here andcommand name is not intuitive in this context..SH NOTESIf executed under sudo(8) growisofs refuses to start. This is done forthe following reason. Naturally growisofs has to access the data set tobe recorded to optical media, either indirectly by letting mkisofsgenerate ISO9660 layout on-the-fly or directly if a pre-mastered imageis to be recorded. Being executed under sudo(8), growisofs effectivelygrants sudoers read access to \fIany\fP file in the file system. Thesituation is intensified by the fact that growisofs parses MKISOFSenvironment 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 theirchoice with elevated privileges. If you for any reason still find theabove acceptable and are willing to take the consequences, thenconsider running following wrapper script under sudo(8) in place forreal growisofs binary..nf #!/bin/ksh unset SUDO_COMMAND export MKISOFS=/path/to/trusted/mkisofs exec growisofs "$@".fiBut note that the recommended alternative to the above "workaround" isactually to install growisofs set\-root\-uid, in which case it will dropprivileges prior accessing data or executing mkisofs in order topreclude unauthorized access to the data.If the media already carries isofs and \fBgrowisofs\fP is invoked with\fB\-Z\fP option non-interactively, e.g. through cron, it shall failwith "FATAL: /dev/dvd already carries isofs!" Note that only ISO9660 isrecognized, you can perfectly zap e.g. an UDF filesystemnon-interactively. Recommendation is to prepare media for unattendedusage by re-formatting or nullifying first 64KB in advance."Overburn" protection in pre-mastered image context works only withplain files and ISO9660 formatted volumes. E.g. [given that /dev/rootis an ext2 formatted file system larger than 4.7GB] /dev/dvd=/dev/root isbound to produce corrupted recording.Note that DVD+RW re-formatting procedure does not substitute forblanking. If you want to nullify the media, e.g. for privacy reasons,do it explicitly with 'growisofs \-Z /dev/dvd\fB=/dev/zero\fP'.Playback of re-writable DVD media, both DVD+RW and DVD\-RW, might belimited in legacy DVD\-ROM/\-Video units. In most cases this is dueto lower reflectivity of such media.Even though growisofs supports it, playback of multisession write-onceDVD might be limited to the first session for two reasons:.TP\(bunot all DVD\-ROM players are capable of multi-border DVD\-R playback,even less are aware of DVD+R multisessioning, burner unit thereforemight be the only one in your vicinity capable of accessing fileswritten at different occasions;.TP\(buOS might fail to mount multisession DVD for various reasons;.PPThe 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..SH SEE ALSOMost up-to-date information on dvd+rw\-tools is available athttp://fy.chalmers.se/~appro/linux/DVD+RW/..PPThe manpage for \fBmkisofs\fP..SH AUTHORSAndy Polyakov <appro@fy.chalmers.se> stands for programming and on-lineinformation.This manpage is currently maintained by Huub Reuver<h_reuver@mantell.xs4all.nl>..SH LICENSE\fBgrowisofs\fP is distributed under GNU GPL.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -