LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't create .ISO with full directory paths (-graft-points?) (https://www.linuxquestions.org/questions/linux-newbie-8/cant-create-iso-with-full-directory-paths-graft-points-218919/)

tdp05 08-17-2004 04:01 PM

Can't create .ISO with full directory paths (-graft-points?)
 
I'm trying to write DVD-R and CD-Rs with my new Sony burner. The device burns discs fine, but the problem that I'm encountering is that when I create an iso, I cannot figure out how to put the full directory path onto the disk. I'll specifiy various dirs to burn, but it only puts the contents of the specified paths on disk/iso.

Here is my command
me@mymachine:~> mkisofs -o /usr/scratch/my.iso -v -r -J -l /education/materials/backup/ /home/me/downloads/ /finances/statements/visa/

The iso puts the contents of each of these directories into the root of the iso.

From reading the man page, it looks like I'm supposed to use -graft-points, but I guess I can't seem to figure out how to use it properly. Can someone give me an example of how I could get the disk file structure to look like this when I mount it:

me@mymachine:~> sudo mount /usr/scratch/my.iso /mnt/iso -o loop
me@mymachine:/mnt/iso>ls -F1
education/
finances/
home/

Thanks.


Hardware and machine info:

Redhat 7.3 running 2.4.26 (work machine. needs to be running 7.3, so updating to 9.0 or changing distros is impossible This also makes using K3b for graphical burning harder b/c we use Kde 3.0 and it requires at least 3.1. We could compile with static libraries, but I want to be able to do this via CLI)

me@mymachine:~> sudo cdrecord --scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus1:
1,0,0 100) 'SONY ' 'DVD RW DW-U18A ' 'UYS1' Removable CD-ROM


I have new versions of mkisofs,growisofs and cdrecord installed:
me@mymachine:~> foreach m (mkisofs growisofs cdrecord)
foreach? $m --version
foreach? end
mkisofs 2.0.3 (i686-pc-linux-gnu)
* growisofs by <appro@fy.chalmers.se>, version 5.20,
front-ending to mkisofs: mkisofs 2.0.3 (i686-pc-linux-gnu)
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling


All times are GMT -5. The time now is 01:26 AM.