LINUX.ORG.RU

История изменений

Исправление Pinkbyte, (текущая версия) :

Читаю man с выражением, недорого:

NAME
       mkisofs - create an hybrid ISO-9660/JOLIET/HFS/UDF filesystem-image with optional Rock Ridge attributes.

SYNOPSIS
       mkisofs [ options ] [ -o filename ] pathspec [pathspec ...]
       mkisofs [ options ] [ -o filename ] -find [find expression]

<пропущено>

   Dealing with path names
       pathspec is the path of the directory tree to be copied into the ISO-9660 filesystem.  Multiple paths can be specified, and mkisofs will merge the files found in all
       of the specified path components to form the cdrom image.
       
       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  di‐
       rectories  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

TL;DR:

mkisofs -lJR -graft-points -o dbg.iso dir1/=dir1 dir2/=dir2 dir3/=dir3

Исправление Pinkbyte, :

Читаю man с выражением, недорого:

NAME
       mkisofs - create an hybrid ISO-9660/JOLIET/HFS/UDF filesystem-image with optional Rock Ridge attributes.

SYNOPSIS
       mkisofs [ options ] [ -o filename ] pathspec [pathspec ...]
       mkisofs [ options ] [ -o filename ] -find [find expression]

<пропущено>

   Dealing with path names
       pathspec is the path of the directory tree to be copied into the ISO-9660 filesystem.  Multiple paths can be specified, and mkisofs will merge the files found in all
       of the specified path components to form the cdrom image.
       
       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  di‐
       rectories  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

Исходная версия Pinkbyte, :

Читаю man с выражением, недорого:


   Dealing with path names
       pathspec is the path of the directory tree to be copied into the ISO-9660 filesystem.  Multiple paths can be specified, and mkisofs will merge the files found in all
       of the specified path components to form the cdrom image.
       
       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  di‐
       rectories  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