> is it possible to rename/move/delete files from existing already
>written session by writing one new additional session with
>appropriately changed toc? for example, i've written a session to the
>cd-r, and found that file layout is wrong, so i need to move files
>around. is it possible?
You can't relocate files, but you can hide files in a round about sort of way:
Create a dummy directory tree of empty files that you want to hide from
a previous session. Then use this directory as one of you source directories
to mkisofs and use the -hide (or -hide-list) option to hide these new files.
e.g. If you existing CD contains files that you want to hide:
dir1/dir2/file1
dir2/file2
file3
Create a directory tree called, say, /tmp/hide containing empty files with
the above names.
Then create a file called /tmp/hhh containing:
/tmp/hide/dir1/dir2/file1
/tmp/hide/dir2/file2
/tmp/hide/file3
Then run:
mkisofs [options] -hide-list /tmp/hhh /tmp/hide new_dir/
Basically, mkisofs replaces the files with new empty files, but as these
are later hidden from the ISO9660 tree, they are effectively removed ...
If you are also creating a Joliet CD, you will have to use the
-hide-joliet-list as well.
Although, it's probably easier to just make a new CD with the correct
files ...
James Pearson
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]