Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> Ok, this is simple enough to be in one single file like fakeroot in
> directory trans/.

Ok, done: http://duesseldorc.ccc.de/~moritz/files/socketio.c.gz.

There are some minor improvements since netio version 0.2.
io_restrict is not yet used.  There also seem to be some problems with
the cancellation of operations on that server - I didn't have the time
to investigate that yet.

Copyright is also assigned to the FSF in that file (i have signed the
papers).

> Please also clean up cruft like my_malloc

Done.

> To better match what bash provides we would need to make the
> protocol an option rather than a directory in the filesystem (as it
> seems to be now).

I actually like the idea more to install that server on - for instance
- /dev/socketio and then create the symlinks /dev/{tcp,udp} ->
/dev/socketio/{tcp,udp}.  But if you think that such an option might
be good to have, I can implement that.

> Also add a patch for MAKEDEV to set up /dev/tcp and /dev/udp.

Here is the patch:

89c89
<       mkdev console tty null zero full fd time mem klog shm kbd
---
>       mkdev console tty null zero full fd time mem klog shm kbd socketio
119a120,124
>       socketio)
>         st $I root 755 /hurd/socketio
>       cmd ln -f -s socketio/tcp tcp
>       cmd ln -f -s socketio/udp udp
>       ;;

                moritz
-- 
[EMAIL PROTECTED] - http://duesseldorf.ccc.de/~moritz/
GPG fingerprint = 3A14 3923 15BE FD57 FC06  B501 0841 2D7B 6F98 4199


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to