[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Thoughts on writing CD from stdin



Paul Serice wrote:
I don't obviously see why CD burning requires the size in advance,
but cdrecord and similar seem to want it.

The meta-data for the iso9660 is in the "primary volume descriptor"
(PVD) which is (more or less) written first.  One of its fields is the
location of the root directory which varies from one instance of the
iso9660 file system to the next.
This is not ISO9660 data. I want the burner program to take my bits and put them on the media, nothing else. The data is in 64k chunks, so all writes are sector complete. I haven't had any issues with reading the data off DVD, or off CD in the case where I write it to something which allows me to know the size, but in general I don't. Nor can I run the data generation repeatedly to get the size, it's one of those "it depends" things.

--
Bill Davidsen <davidsen@tmr.com>
 "Woe unto the statesman who makes war without a reason that will still
be valid when the war is over..." Otto von Bismark


Reply to: