Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-17-2004, 04:01 PM   #1
LQ Newbie
Registered: Jul 2003
Distribution: RH7.3,RH9,SuSe9.1Pro
Posts: 7

Rep: Reputation: 0
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


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'
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 <>, 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create system restore points similar to XP. MurX Linux - Software 3 10-24-2005 04:29 AM
Are there full OpenBSD ISO for downloading ? alred *BSD 3 08-19-2005 09:26 PM
recursively listing directories full paths kubicon Linux - Newbie 2 02-22-2004 03:55 PM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 10:15 PM
Slackware install: using cfdisk to create mount points Colonel Panic Linux - Software 3 09-28-2001 07:15 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration