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

Re: [Nbd] NBD+CDRW/DVDRW



On Mon, Feb 28, 2005 at 04:34:14PM -0300, Edson Vinicius Schmitt wrote:
> 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.

Whoa, cool.

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

IC.

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

Understood; 4000 schools is quite a lot, making such a setup too complex
is a really bad idea.

> Do you have any ideas?

Not with NBD, I'm afraid. ioctl() simply isn't part of the protocol, it
only transports read() and write(). If you want to add ioctl() support,
you'll have to patch the kernel anyway.

IIUC, you're doing a system with remote X, and mounting floppies and
CD-ROMs over the network from the users' clients onto the server.
Correct?

If so, how about doing cd burning by using an NFS share and making
cdrecord a wrapper script that does something like 

ssh $clienthost cdrecord "$@"

?

-- 
         EARTH
     smog  |   bricks
 AIR  --  mud  -- FIRE
soda water |   tequila
         WATER
 -- with thanks to fortune



Reply to: