Re: can I write to the cdrom through writing to the device file sr0?

From: DervishD
Date: Thu Aug 18 2005 - 05:04:25 EST


Hi Jeff :)

* jeff shia <tshxiayu@xxxxxxxxx> 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...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/