[ENBD] character devices?
Peter T. Breuer
ptb@it.uc3m.es
Mon, 26 Mar 2001 14:22:36 +0200 (CEST)
"A month of sundays ago Sebastiaan wrote:"
> I want to redirect some devices to another computer. nbd does exactly what
> I want, but unfortunately, I also need to do this with some character
> devices (audio and serial devs).
I've often wondered why there isn't a net-audio device. OTOH I
remember distinctly having success with a quick experiment one time
along the lines of:
ssh remote cat /dev/audio > /dev/audio &
ssh remote dd of=/dev/audio < /dev/audio &
or some variant. If they're character devices you really can just
move the bytes across in a stream!
>
> I searched the web for a ncd, but there does not exist something like
> that. I wondered if there is a trick so you can use nbd for character
> devices. I thought a character device is a device with blocks of 8 bit?
Well, :-).
Peter