From: Wakko Warner <wakko@animx.eu.org>
To: Alan Jenkins <sourcejedi@phonecoop.coop>
Cc: linux-kernel@vger.kernel.org
Subject: Re: cd burning: kernel / userspace?
Date: Wed, 11 Aug 2004 17:33:22 -0400 [thread overview]
Message-ID: <20040811213322.GA19908@animx.eu.org> (raw)
In-Reply-To: <411A89BB.60505@phonecoop.coop>
Please keep me CC
> A script would be cool, but dd doesn't do the memory locking and real
> time priority stuff. I don't know how important this is - how old your
> hardware would have to be for you to get "coasters" (buffer underun)
> without it.
Agreed, however, I was attempting to make a point by saying dd.
> Theres an option in cdrecord to fixate an arbitrary disk (one without a
> TOC for whatever reason), and one not to fixate the disk you're writing,
> so it looks like fixation could and should be done on demand using an
> ioctl. You'd also need ioctls to deal with multiple sessions.
Already thought of this. But how to deal with it, I don't know.
> I think most people would want a cdrwtool that basically pretends to be
> cdrecord (in some ways ;), because thats the most intuitive way to do it
> - even if you can do everything you want to with cdrwtool for the ioctls
> and dd for the data.
That did come to mind, as long as I don't have to use dev=x,y,z (joerg you
listening? Another user steps up to say he hates it =) heheh.
> I've definitely underestimated the problems with my idea, and I can't
> see any tangible benefits which couldn't be obtained by hacking
I can, like someone else specified. Unlike windows, linux users can put
whatever filesystem (or just plain data) on a cd they choose.
They wanted to specify their cdrw to send stuff directly to it and change
cds. Something like this (so long as the driver supports it too):
cdrwtool /dev/scd0 -ejectonclose -fixateonclose
note could possibly do -dao with a fixed size.
also, I don't know dump's options so I'm improvising
dump -D /dev/scd0 -B 700MB /home
When dump fills 700mb, it will close and await the user. Since the driver
was told to fixate and eject on close, the cd comes out ready. I understand
buffer underruns here and for starters, underruns aren't part of this
picture, it can come later (ie after proof of concept)
> cdrecord. Idealistically, its the right thing to do - but in practice
> its unessecary, I'm not up to the job, and its not attractive enough for
> someone to pick up. After packet writing is seamlessly merged into the
> uniform cdrom driver it might start looking more important, and I might
> have learnt enough to at least implement a proof of concept. I'm still
> interested in hashing out more details and potential benefits.
Frankly, I have found that growisofs is awkward to use. I could hack it to
be better suited for what I wanted to do (I can't pipe data into it. I used
to do mkisofs on one machine, send the data over the network and burn at the
same time.) However, it's not as bad as dev=x,y,z
For me, if this were implemented in kernel, I could do this:
nail:~> mkisofs -r -no-pad /80g/debian/x/vol200 | \
ssh vegeta 'cat > /dev/scd0'
(nail is a disk server, vegeta is the box with the burner on /dev/scd0,
that's my current setup)
--
Lab tests show that use of micro$oft causes cancer in lab animals
next prev parent reply other threads:[~2004-08-11 21:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 9:51 cd burning: kernel / userspace? Alan Jenkins
2004-08-10 22:05 ` Wakko Warner
[not found] ` <4119DFB0.6050204@phonecoop.coop>
[not found] ` <20040811164109.GA18761@animx.eu.org>
2004-08-11 21:03 ` Alan Jenkins
2004-08-11 21:33 ` Wakko Warner [this message]
2004-08-11 21:43 ` Alan Jenkins
2004-08-12 0:12 ` Wakko Warner
2004-08-12 9:07 ` Alan Jenkins
2004-08-12 12:37 ` Sergey Vlasov
2004-08-12 23:06 ` Kevin Fox
2004-08-13 0:13 ` Wakko Warner
2004-08-16 21:37 ` David Lang
2004-08-10 23:50 ` Valdis.Kletnieks
2004-08-16 20:47 ` Pavel Machek
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=20040811213322.GA19908@animx.eu.org \
--to=wakko@animx.eu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sourcejedi@phonecoop.coop \
/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