Re: [Nbd] NBD+CDRW/DVDRW
- To: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] NBD+CDRW/DVDRW
- From: "Edson Vinicius Schmitt" <evs03@...43...>
- Date: Mon, 28 Feb 2005 16:34:14 -0300
- Message-id: <20050228193414.GA16915@...43...>
- In-reply-to: <20050228191927.GC31836@...3...>
- References: <20050228121722.GA17978@...43...> <20050228153227.GF21095@...3...> <20050228181339.GA6404@...43...> <20050228191927.GC31836@...3...>
On Mon, Feb 28, 2005 at 08:19:27PM +0100, Wouter Verhelst wrote:
> On Mon, Feb 28, 2005 at 03:13:39PM -0300, Edson Vinicius Schmitt wrote:
> > On Mon, Feb 28, 2005 at 04:32:27PM +0100, Wouter Verhelst wrote:
> > > To write stuff to a CDRW drive, you need to perform some ioctl() calls
> > > on it.
> > >
> > > nbd does not export that; it only supports read() and write().
> > >
> > > In other words, this isn't possible. It /might/ be possible with ENBD,
> > Is it possible to add the ioctl() funcionality to nbd?? Is it interesting, is
> > anyone already working on it?? Where should I begin??
>
> Not without a protocol change, as ENBD has done.>
> Really. It might be possible to export a CDRW drive with ENBD, and I
> /know/ they already export some ioctl() stuff; if this doesn't work,
> adding extra shouldn't be hard.
Well, here's the thing.
By June this year every state school ( about 4000 ) here in Parana, a state of Brasil, is
going to have a lab with a linux server and around 40 terminals making
remote-boot. Because of that I had to develop a new and easier way to access
removable media, and I choose to use nbd and scripts done by myself to manage
every mounting point. I could say both floppy and cdrom drives work just fine
but now my challenge is to make it work with cd/dvd burners. We cannot afford
to have patched kernels so we don't have to stick with a version of it. Do
you have any ideas?
Thanks
>
> That said, I'm not so sure writing a CD over the network is a good idea
> at all, unless you don't care about buffer underruns.
>
> --
> EARTH
> smog | bricks
> AIR -- mud -- FIRE
> soda water | tequila
> WATER
> -- with thanks to fortune
--
Edson Vinicius Schmitt <evs03 at inf.ufpr.br>
C3SL - www.c3sl.ufpr.br
Reply to: