Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-27-2009, 09:01 AM   #1
Registered: Jun 2005
Distribution: Various
Posts: 72

Rep: Reputation: 15
mkisofs and preserving directory trees

Hi all,

I have a quick question about mkisofs. When I tried doing the following:

$ mkisofs -o ~/stuff.iso *
the end result is that the directory tree in the .iso is all messed up. To be specific, it seems that instead of keeping subdirectories in order, it's dumping them all into the root directory, so what used to be dir1/dir2 becomes dir1/ dir2/.

The manpage lists a -D option ("Do not use deep directory relocation") which looked to be what I wanted, but it didn't make a difference.

Am I missing something obvious, or is what I want not possible?
Old 03-27-2009, 09:58 AM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
mkisfs -o ~/stuff.iso .
--- rod.
Old 03-27-2009, 10:00 AM   #3
Registered: Jun 2005
Distribution: Various
Posts: 72

Original Poster
Rep: Reputation: 15
Awesome, thanks!


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
Compare directory trees on seperate servers ? dhg1848 Linux - Server 4 11-26-2008 08:47 AM
Script to find file differences in two directory trees (bash) Syqers Linux - Newbie 3 10-01-2008 11:55 PM
LXer: Protecting directory trees with gpgdir LXer Syndicated Linux News 0 04-25-2008 12:20 AM
Q: on deleting directory trees n00bJoe Arch 3 03-09-2006 12:13 PM
How to keep 2 directory trees synchronised? hrr Linux - General 2 07-02-2003 12:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:55 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
Open Source Consulting | Domain Registration