> Sorry, my mail seems to be non-obvious:
> 
> What should happen with:
> 
> mkisofs -o /tmp/xxx dir/
> mkisofs -o /tmp/xxx file
> mkisofs -o /tmp/xxx dir1/ dir2/ file ....

  In this case I believe that what I would expect to happen (as an
experienced user), what I would like to happen, and what the user
entering these commands might mean are at least two different things.

> mkisofs -o /tmp/xxx dir/

I would expect this to use the contents of dir/ as the base for the ISO
image, so file dir/foo would be foo on the CD. And in this case I think
most users would want that.

> mkisofs -o /tmp/xxx file

I would expect a very small ISO image with a single file.

> mkisofs -o /tmp/xxx dir1/ dir2/ file ....

I would expect dir1 and dir2 contents to be "lowered" by one level, as
in the first case. I suspect that most people would assume that dir1 and
dir2 would be preserved, but after writing scripts to generate
dir1/=dir1 over and over, I have learned what this does.

Comments:

1. The current behaviour is consistant. I don't like it, it's
unintuitive, it gets really ugly when you want to preserve a bunch of
directories, but it works.

2. As nice as a short form would be, I think having "dir1" "dir1/" and
"dir1/." not do the same thing would confuse the hell out of the typical
users.

3. I'm attracted to having an option which is followed by a list of
directory names, which would appear on the CD unchanged.
as: cdrecord -o foo -dirlist abc,def/,/usr/local/src
same as: abc/=abc def/=def usr/local/src/=/usr/local/src

4. I would love to make the general case of xxx=yyy mean that file or
directory yyy would appear as xxx on the CD. It would mean that any
name which contained an equal would be a special case. That actually
does affect me, but names with equal are unusual, and I certainly would
rather have the usual case be easy and intuitive. I really need equals
in both disk and CD names, but I don't mind inconvenience as a penalty
for having to support an ill-designed application.

5. One obvious solution would be to have a single directory name after
option signify the base of the CD, and any case which had more than one
directory or file would mean the directory names would be preserved.
This would make taking the files from multiple directories into one
"flat" CD a special case, but it isn't any more common than my = files,
I suspect. this seems intuitive to me, it might confuse someone, I
guess.

-- 
   -bill davidsen ([EMAIL PROTECTED])
"The secret to procrastination is to put things off until the
 last possible moment - but no longer"  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to