CDR Recording under Linux, Mkisofs Related


Table of Contents

cmd:mkisofs 
Help 
Hiding files on a CD 
hide options 
hidden options 
pkg:zisofs-tools 
Usage 
Info 
Help 
compressed CD-ROM filesystems 
Usage 
Help 
Figures 
History 
Plain CD 
Test 

cmd:mkisofs 

find . -follow | less
mkisofs -r -N -d -D -J -f -allow-leading-dots -o $ISOF /tmp/backupshadow
mkisofs -r -N -d -D -J -f -allow-leading-dots -C `cdrecord -msinfo` -M $CDRW -o $ISOF /tmp/backupshadow

Help 

-r, -rational-rock          Generate rationalized Rock Ridge directors
-R, -rock                   Generate Rock Ridge directory information
-N, -omit-version-number    Omit version number from ISO9660 filename (violates ISO9660)
-d, -omit-period            Omit trailing periods from filenames (violates ISO9660)
-D, -disable-deep-relocation
                            Disable deep directory relocation (violates ISO9660)
-J, -joliet                 Generate Joliet directory information
-f, -follow-links           Follow symbolic links

mkisofs -r -N -d -D -J -f -C $TRACK -M $CDRW files…

-d     Omit trailing period from files that do not have a period.
       This  violates  the  ISO9660 standard, but it happens to work on
       many systems.  Use with caution.
-D     Do not use deep directory relocation, and instead just pack them
       in the way we see them.
       This  violates  the  ISO9660 standard, but it happens to work on
       many systems.  Use with caution.
-N     Omit version numbers from ISO9660 file names.
       This violates the ISO9660 standard, but no one really  uses  the
       version numbers anyway.  Use with caution.
-C last_sess_start,next_sess_start
-M device
       Specifies path to existing  iso9660  image  to  be  merged.
If the -C option is used in conjunction with the -M option,
mkisofs will create a filesystem image that is intended to be
a continuation of the previous session.  If the -C option is
used without the -M option, mkisofs will create a filesystem
image that is intended to be used for a second session on a
CDextra. This is a multi session CD that holds audio data in
the first session and a ISO9660 filesystem in the second
session.
-root dir
       Moves all files and directories into dir in the image.  This  is
       essentially  the  same  as using -graft-points and adding dir in
       front of every pathspec, but is easier to use.
dir may actually be several levels deep. It is created with  the
same permissions as other graft points.
-graft-points
       Allow to use graft points for filenames. If this option is used,
       all  filenames  are  checked  for  graft points. The filename is
       divided at the first unescaped equal sign.  All  occurrences  of
       '\\'   and   '='   characters  must  be  escaped  with  '\\'  if
       -graft-points has been specified.
If the option -graft-points has been specified, it is possible to graft
the paths at points other than the root directory, and it  is  possible
to graft files or directories onto the cdrom image with names different
than what they have in the  source  filesystem.   This  is  easiest  to
illustrate  with a couple of examples.   Let's start by assuming that a
local file ../old.lis exists, and you wish to include it in  the  cdrom
image.
foo/bar/=../old.lis
will  include  the file old.lis in the cdrom image at /foo/bar/old.lis,
while
foo/bar/xxx=../old.lis
will include the file old.lis in the cdrom image at /foo/bar/xxx.   The
same sort of syntax can be used with directories as well.  mkisofs will
create any directories required such that the graft points exist on the
cdrom  image  -  the  directories  do  not need to appear in one of the
paths.  By default, any directories that are created on  the  fly  like
this  will  have  permissions 0555 and appear to be owned by the person
running mkisofs.  If you wish other permissions or owners of the inter-
mediate   directories,   see  -uid,  -gid,  -dir-mode,  -file-mode  and
-new-dir-mode.