* can I write to the cdrom through writing to the device file sr0? @ 2005-08-18 8:40 jeff shia 2005-08-18 10:07 ` DervishD 2005-08-18 13:03 ` jeff shia 0 siblings, 2 replies; 5+ messages in thread From: jeff shia @ 2005-08-18 8:40 UTC (permalink / raw) To: linux-kernel I want to write a cdrw user space driver just like cdreord,but the cdrecord is too complex and huge!can I write to the cdrom through writing to the device file sr0,here sr0 is the device file of the cdrw. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: can I write to the cdrom through writing to the device file sr0? 2005-08-18 8:40 can I write to the cdrom through writing to the device file sr0? jeff shia @ 2005-08-18 10:07 ` DervishD 2005-08-18 12:38 ` jeff shia 2005-08-18 13:03 ` jeff shia 1 sibling, 1 reply; 5+ messages in thread From: DervishD @ 2005-08-18 10:07 UTC (permalink / raw) To: jeff shia; +Cc: linux-kernel Hi Jeff :) * jeff shia <tshxiayu@gmail.com> dixit: > I want to write a cdrw user space driver just like cdreord,but the > cdrecord is too complex and huge!can I write to the cdrom through > writing to the device file sr0,here sr0 is the device file of the > cdrw. Although someone may say that the size of cdrecord is proportional to the author's ego, the crude reality is that cdrecord has to be such complex and huge (well, I don't think it is huge, but...). It has to be complex because cdwriting *is* complex. Take a look at the code and see if you can get rid of things. Nowadays I think that most of the writers out there are SCSI-3/MMC compliant, so you can just use that driver, but that won't probably remove much code. Try joining a cdrecord alternative. I don't remember the name, but a project to build a cd recording library exists. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net http://www.pleyades.net & http://www.gotesdelluna.net It's my PC and I'll cry if I want to... ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: can I write to the cdrom through writing to the device file sr0? 2005-08-18 10:07 ` DervishD @ 2005-08-18 12:38 ` jeff shia 2005-08-18 12:48 ` Michael Tokarev 0 siblings, 1 reply; 5+ messages in thread From: jeff shia @ 2005-08-18 12:38 UTC (permalink / raw) To: jeff shia, linux-kernel thank you ,DervishD. another question:What is the difference between cdrtools and cdrecord? It seems that the fomer is bigger. On 8/18/05, DervishD <lkml@dervishd.net> wrote: > Hi Jeff :) > > * jeff shia <tshxiayu@gmail.com> dixit: > > I want to write a cdrw user space driver just like cdreord,but the > > cdrecord is too complex and huge!can I write to the cdrom through > > writing to the device file sr0,here sr0 is the device file of the > > cdrw. > > Although someone may say that the size of cdrecord is > proportional to the author's ego, the crude reality is that cdrecord > has to be such complex and huge (well, I don't think it is huge, > but...). It has to be complex because cdwriting *is* complex. Take a > look at the code and see if you can get rid of things. Nowadays I > think that most of the writers out there are SCSI-3/MMC compliant, so > you can just use that driver, but that won't probably remove much > code. > > Try joining a cdrecord alternative. I don't remember the name, > but a project to build a cd recording library exists. > > Raúl Núñez de Arenas Coronado > > -- > Linux Registered User 88736 | http://www.dervishd.net > http://www.pleyades.net & http://www.gotesdelluna.net > It's my PC and I'll cry if I want to... > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: can I write to the cdrom through writing to the device file sr0? 2005-08-18 12:38 ` jeff shia @ 2005-08-18 12:48 ` Michael Tokarev 0 siblings, 0 replies; 5+ messages in thread From: Michael Tokarev @ 2005-08-18 12:48 UTC (permalink / raw) To: jeff shia; +Cc: linux-kernel jeff shia wrote: > thank you ,DervishD. > another question:What is the difference between cdrtools and cdrecord? > It seems that the fomer is bigger. cdrtools is a package which includes cdrecord. Or, the other way 'round, cdrecord is a part of cdrtools package. Nowadays, anyway. > On 8/18/05, DervishD <lkml@dervishd.net> wrote: > >> Hi Jeff :) >> >> * jeff shia <tshxiayu@gmail.com> dixit: >> >>>I want to write a cdrw user space driver just like cdreord,but the >>>cdrecord is too complex and huge!can I write to the cdrom through >>>writing to the device file sr0,here sr0 is the device file of the >>>cdrw. >> >> Although someone may say that the size of cdrecord is >>proportional to the author's ego, the crude reality is that cdrecord >>has to be such complex and huge (well, I don't think it is huge, >>but...). It has to be complex because cdwriting *is* complex. Take a >>look at the code and see if you can get rid of things. Nowadays I >>think that most of the writers out there are SCSI-3/MMC compliant, so >>you can just use that driver, but that won't probably remove much >>code. Well, yes and no. If you have re-writable media, there's a packet driver for it in recent kernels, and it is possible to (indirectly) mount and use a cdrw device as normal block device. Ofcourse it'll only work for data "tracks", not for audio disks. /mjt ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: can I write to the cdrom through writing to the device file sr0? 2005-08-18 8:40 can I write to the cdrom through writing to the device file sr0? jeff shia 2005-08-18 10:07 ` DervishD @ 2005-08-18 13:03 ` jeff shia 1 sibling, 0 replies; 5+ messages in thread From: jeff shia @ 2005-08-18 13:03 UTC (permalink / raw) To: linux-kernel thank you! such as cdrtools have the tools of mkiso9660 which can make an iso file according to the iso9660 file system standard?but cdrecord can only write an iso9660 file to the cdrom? On 8/18/05, jeff shia <tshxiayu@gmail.com> wrote: > I want to write a cdrw user space driver just like cdreord,but the > cdrecord is too complex and huge!can I write to the cdrom through > writing to the device file sr0,here sr0 is the device file of the > cdrw. > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-08-18 13:04 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-08-18 8:40 can I write to the cdrom through writing to the device file sr0? jeff shia 2005-08-18 10:07 ` DervishD 2005-08-18 12:38 ` jeff shia 2005-08-18 12:48 ` Michael Tokarev 2005-08-18 13:03 ` jeff shia
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox