public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: DervishD <lkml@dervishd.net>
To: jeff shia <tshxiayu@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: can I write to the cdrom through writing to the device file sr0?
Date: Thu, 18 Aug 2005 12:07:33 +0200	[thread overview]
Message-ID: <20050818100733.GA110@DervishD> (raw)
In-Reply-To: <7cd5d4b4050818014042740322@mail.gmail.com>

    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...

  reply	other threads:[~2005-08-18 10:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-08-18 12:38   ` jeff shia
2005-08-18 12:48     ` Michael Tokarev
2005-08-18 13:03 ` jeff shia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050818100733.GA110@DervishD \
    --to=lkml@dervishd.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tshxiayu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox