Register a domain and help support LQ
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, 10: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, 10:58 AM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
mkisfs -o ~/stuff.iso .
--- rod.
Old 03-27-2009, 11: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 09:47 AM
Script to find file differences in two directory trees (bash) Syqers Linux - Newbie 3 10-02-2008 12:55 AM
LXer: Protecting directory trees with gpgdir LXer Syndicated Linux News 0 04-25-2008 01:20 AM
Q: on deleting directory trees n00bJoe Arch 3 03-09-2006 01:13 PM
How to keep 2 directory trees synchronised? hrr Linux - General 2 07-02-2003 01:01 PM

All times are GMT -5. The time now is 06:01 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