[Top][All Lists]

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

Re: implementing bash's magic

From: Moritz Schulte
Subject: Re: implementing bash's magic
Date: Mon, 04 Nov 2002 02:07:48 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> 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

> Please also clean up cruft like my_malloc


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

<       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
>       socketio)
>         st $I root 755 /hurd/socketio
>       cmd ln -f -s socketio/tcp tcp
>       cmd ln -f -s socketio/udp udp
>       ;;

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]