Re: Non-RW media; WORM hopes

RB <[email protected]> Mon, 11 Jun 2007 13:51:52 -0500
Newsgroups gmane.linux.suse.packet-writing
Message-ID <[email protected]>
Testing your the

On 6/7/07, Phillip Susi <[email protected]> wrote:
> For your purposes, I would suggest that you don't use a filesystem on
> the disk and just write the raw log file out, or maybe a tar data
> stream.  If you pipe it though dd to reblock you should be able to write
> it directly to the cd-r without pktcdvd.

Unfortunately, that doesn't seem to work in 2.6.21.3.  In testing, 'dd
if=/var/log/messages of=/dev/hdc bs=2048' results in dd's immediate
failure with the message: 'dd: opening `/dev/hdc': Read-only file
system', regardless of what the permissions are on the device.
Attempting to pass the data through 'cdrecord -packet -noclose' has
some interesting results (i.e., next writable addr. increments as
remaining writable decrements), but I can't read anything past the
first 2048 bytes using dd.  Physically, the track is obviously
growing, but if I can't read that it's pretty useless.

Through pretty exhaustive testing, it would seem the only method one
can [right now] packet-write to -R media is via 'cdrecord -packet',
but I have yet to read data written in that manner.


RB