On Wednesday 30 March 2005 3:53 pm, you wrote:
> > 'dev=/dev/cdrom' would have been confusing, but something like
> > "Impossible SCSI address [-2, -2, -2] - have you specified dev=
> > properly?" would have been good.
>
> Well, first you did call cdrecord with a _wrong_ dev= parameter and should
> not be amazed by the results. RTFM for the correct parameters.....

Not amazed, but disappointed. RTFM is all very well, but making a program 
behave helpfully in the face of improper input is matter of good taste, 
particularly if that input is subsequently processed in a relatively obscure 
way, as in the translation from /dev/cdrom to -2,-2,-2: You already warn 
about the image file being too large before trying to write it, I think.

I try to make my software give helpful messages if someone gets it wrong (so 
the program is in some senses an extension of the manual) but I also try to 
name the options in a way to avoid confusion: The parameter 'dev' is short 
for 'device' which has long meant /dev/ files on Unix, so I think the 
confusion is quite reasonable. Calling the parameter something like 
'scsiaddr=' would probably have been a better choice.

Still, it's your code, and I have to thank you for making it available, 
because when everything's right, it works well.

> Solaris is currently free of charge for any type of usage and it will be
> Open Source for everybody very soon (I already have access to the

Mm. Certainly the new kernel-level debugging facilities are very tempting, 
but I think driver support isn't quite as good. I'll think about it.

Anyway, I'd better stop hassling you. Thanks again.

Tim
-- 
Most incoming HTML email is caught by my SPAM FILTER.
http://www.baverstock.org.uk/tim


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

Reply via email to