[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Constructing CD-ROM images



Norman Walsh, 2001-Oct-31 12:08 -0500:
> In other words, if I say:
> 
>   mkisofs [opts] /path1/file1 /path1/file2 /path2/file1
> 
> it creates an image with
> 
>   /file1
>   /file2
>   /file1-with-mangled-name
> 
> but that's not what I want, I want:
> 
>   /path1/file1
>   /path1/file2
>   /path2/file1

I use mkisofs and using the following syntax, you can maintain a
directory structure within the iso file:

mkisofs -J -l -log-file cdlog -o system.iso -r /

This would create an image of your complete directory structure
beginning at / and maintain the structure.  If you place an *
after the /, you would not get the directory structure, only the
files.

jc

-- 
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: