On 04/02/03 07:15 +0530 Sridhar M.A. wrote: > > http://hints.linuxfromscratch.org/hints/cdrw-hint.txt > > > Thanks for posting the links. Going through the article, I noticed that > the media used is a CD-RW. Under Direct0CD, etc. under Windows, one can > also use the regular cd-r's for packet writing. Have you tried it under > linux?
Not yet. I have just bought a CD-RW and tested on this. But I think it won't work (the way I expect it to) as yet. The kernel patch I use says this: "Currently only writing to CD-RW discs is possible." And the linux/block/pktcdvd.c file says: ------------------------------------------ TODO: (circa order of when I will fix it) - Only able to write on CD-RW media right now. - check host application code on media and set it in write page - Generic interface for UDF to submit large packets for variable length packet writing - interface for UDF <-> packet to negotiate a new location when a write fails. - handle OPC, especially for -RW media ------------------------------------------ However, an alternative procedure is (not exciting) mentioned in the README.Debian file of udftools (in Debian): --------------------------------------------------------- As root, execute the following commands. (After "count=", supply the required size in MB of the filesystem.) dd if=/dev/zero of=udfimage bs=1M count=10 mkudffs udfimage mkdir udfmnt mount -o loop -t udf udfimage udfmnt YOU NEED LINUX 2.4 WITH UDF READ *AND* WRITE SUPPORT ENABLED. Now you can copy data to the "udfmnt" directory. After an "umount udfmnt", the file "udfimage" can be written to the medium. ---------------------------------------------------------- I shall be trying this on a Rs.9 variety CD-R. Not much to lose :-) > > Another question: Are you able to read the packet written cd under both > linux and windows? > Did not get an opportunity yet (No Windows in my Linux box at present) But will test this soon. Regards, Santanu ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
