![](https://seccdn.libravatar.org/avatar/51a7700397ed84d8e44df3701f556370.jpg?s=120&d=mm&r=g)
On Mon, 28 Jun 2004, The Wizard wrote:
All - I have SuSE 9.1/kernel 2.6.5-7.75-default. I installed the kernel sources, and patched with
packet-2.6.5-rc3.patch p00002_dvd+rw.patch p00003_dvd-rw-packet.patch
Had some problems with the compile, changed all occurrences of
struct packet_command cgc;
to
struct cdrom_generic_command cgc;
and then everything compiles OK. Load the module, do the typical setup
pktsetup /dev/pktcdvd0 /dev/cdrecorder mount -t udf -o rw,auto,user,noatime /dev/pktcdvd0 \ /media/cdrecorder cat > /media/cdrecorder/testfile This is line 1 This is line 2 This is another line ^D cat /media/cdrecorder/testfile This is line 1 This is line 2 This is another line umount /media/cdrecorder pktsetup -d /dev/pktcdvd0 /dev/cdrecorder eject
And it all seems fine. But when I remount the CD-RW, the file is not there
pktsetup /dev/pktcdvd0 /dev/cdrecorder mount -t udf -o rw,auto,user,noatime /dev/pktcdvd0 \ /media/cdrecorder cat > /media/cdrecorder/testfile cat: /media/cdrecorder/testfile: No such file or directory
What am I missing here? The drive is an IDE CD_RW/DVD-ROM combo drive, Sony CRX810E. Machine is a Sony Vaio PCG-GRX500 laptop, Pentium4M with 512MB RAM, 30GB Toshiba HD, and Radeon 9500LY video.
What does dmesg report when you do this? Probably, there was some error when you tried to write to the disc. Also, what does /dev/cdrecorder point to? -- Peter Osterlund - petero2@telia.com http://w1.894.telia.com/~u89404340