[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Nbd] NBD+CDRW/DVDRW



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: