Re: Non-RW media; WORM hopes

Phillip Susi <[email protected]> Tue, 12 Jun 2007 13:54:56 -0400
Newsgroups gmane.linux.suse.packet-writing
Message-ID <[email protected]>
RB wrote:
> 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

The media must be formatted for packet writing mode and you must use a 
block size equal to the packet size ( 32k by default ).