Mailinglist Archive: packet-writing (21 mails)

< Previous Next >
Re: Non-RW media; WORM hopes
  • From: RB <aoz.syn@xxxxxxxxx>
  • Date: Mon, 11 Jun 2007 13:51:52 -0500
  • Message-id: <4255c2570706111151h3f145f98wfbdcab3dad6b44d1@xxxxxxxxxxxxxx>
Testing your the

On 6/7/07, Phillip Susi <psusi@xxxxxxxxxx> 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
--
To unsubscribe, e-mail: packet-writing+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: packet-writing+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups