Results 1 to 10 of 12
Hi folks,
On running following command;
# mkisofs -o cdimage.raw -Joliet-long /path/to/DirectoryA /path/to/DirectoryB /path/to/DirectoryC etc.
What flag must be up to retain files/subdirectories in their respective directories instead of mixing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-06-2005 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
mkisofs - flag question
Hi folks,
On running following command;
# mkisofs -o cdimage.raw -Joliet-long /path/to/DirectoryA /path/to/DirectoryB /path/to/DirectoryC etc.
What flag must be up to retain files/subdirectories in their respective directories instead of mixing all into one directory?
TIA
BR
satimis
- 10-06-2005 #2Linux Newbie
- Join Date
- Apr 2005
- Location
- South America
- Posts
- 152
Mmm... been a long time since I used my CD-RW drive in Linux...
IIRC, you must use the -r option like this
mkisofs -o cdimage.raw -Joliet-long -r /path/to/DirectoryA /path/to/DirectoryB /path/to/DirectoryC
- 10-07-2005 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi darklordsatan,
Tks for your advice.
Sorry, still mixing all files. Directories not retained.mkisofs -o cdimage.raw -Joliet-long -r /path/to/DirectoryA /path/to/DirectoryB /path/to/DirectoryC
BR
satimis
- 10-07-2005 #4Linux Newbie
- Join Date
- Apr 2005
- Location
- South America
- Posts
- 152
Well, I checked a little program I made some time ago to burn multisession discs, non-multisession, bla bla bla. And this is what I used
But actually, now that I remember, I think if you include a directory like thisCode:mkisofs -o cdimage.raw -J -iso-level=3 -r /path/to/DirectoryA /path/to/DirectoryB /path/to/DirectoryC
Then it wont burn the directory but all the files inside, which is why I usually made a "dummy" folder, and put all I needed to burn (including other folder) inside it.Code:/path/to/DirectoryA
- 10-07-2005 #5Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi darklordsatan,
Tks for your further advice.
"graft-points" serves my purpose. But it needs additional typing for name of directories/subdirectories, etc. I'm searching whether there is a flag to save me from additional typing.Then it wont burn the directory but all the files inside, which is why I usually made a "dummy" folder, and put all I needed to burn (including other folder) inside it.
BR
satimis
- 10-08-2005 #6Linux Newbie
- Join Date
- Apr 2005
- Location
- South America
- Posts
- 152
Ahhhhh!!! Indeed. I forgot about that one.
Originally Posted by satimis
If you wanna save some time typing, why dontcha make a script like I did? Its way easier.
- 10-08-2005 #7Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi darklordsatan,
Yes, you are right. I have a script for that purpose about 1~2 year ago, burning on fly. It asks for entering the directories to be burned. I wonder whether cdrecord/mkisofs has added this flag now.If you wanna save some time typing, why dontcha make a script like I did? Its way easier.
BR
satimis
- 10-08-2005 #8Linux Newbie
- Join Date
- Apr 2005
- Location
- South America
- Posts
- 152
Yes it does. IIRC, you need to enter something like this
Originally Posted by satimis
I might be wrong though.Code:mkisofs -graft-points -o cdimage.raw -J -iso-level=3 -r cdromfolder=/path/to/DirectoryA
- 10-09-2005 #9Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Hi darklordsatan,
How about other directories;Code:mkisofs -graft-points -o cdimage.raw -J -iso-level=3 -r cdromfolder=/path/to/DirectoryA
/path/to/DirectoryB
/path/to/DirectoryC
etc.
satimis
- 10-09-2005 #10Linux Newbie
- Join Date
- Apr 2005
- Location
- South America
- Posts
- 152
You just append them with no trouble
Code:mkisofs -graft-points -o cdimage.raw -J -iso-level=3 -r stuff/downloads=/path/to/DirectoryA apps/rpms=/path/to/DirectoryB foo/bar=/path/to/DirectoryC


Reply With Quote
