[EMAIL PROTECTED] wrote:
Rodolfo wrote:


Now I can copy the file `myfile' onto CD with
Mandrake 10.1 Community simply doing:

# mkisofs -r -o cd_image myfile
# cdrecord -v speed=2 dev=/dev/hdd -data cd_image

. Now, if I try to copy onto CD a whole directory,
only the content of the directory is copied and not the directory
itself. For example, suppose I want to copy onto CD the
directory `mydir' that contains the file `myfile'.
If I do:

# mkisofs -r -o cd_image mydir
# cdrecord -v speed=2 dev=/dev/hdd -data cd_image

, I will find only the `myfile' on the CD. Instead,
I'd like to find on the CD the entire directory `mydir'
with the `myfile' in it.
Is it possible, and how?



Eric wrote:


Just a guess, but try
mkisofs -r -o cd_image mydir/
with a slash at the end.



Thanks: I tried, but it didn't help. Rodolfo

When I want to make an image of a dir I type 'mkcdimg dir (an press <Tab>)' That auto completes to mkcdimg dir/

  (alias mkcdimg='mkisofs -r -o cd_image')

This will make an image of the _contents_ of dir. If the dir is not a subdirectory of my working directory, the full path to the dir needs to be used. EG, mkcdimg /stor/dir/

   After the cd_image is burned to a CDr, 'bdcd cd_image'

(alias bdcd='cdrecord -v -eject driveropts=burnfree speed=24 dev=ATA:1,1,0 -data')

.... the CD will have the contents of dir on it as data, but not under dir/. MOF, I've never wanted that result. Try making an image of a directory that contains only the dir/ you want as a subdir. Mount the image an look to see if that worked.

--
Tom Brinkman Corpus Christi, Texas



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to