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

Re: Bash /dev/tcp and /dev/udp



On Thu, Nov 23, 2006 at 05:03:13PM +0100, Hendrik Sattler wrote:
# ls /dev/udp /dev/tcp
ls: /dev/udp: No such file or directory
ls: /dev/tcp: No such file or directory

The chosen method of integration is practical non-sense.
What happens if /dev/tcp is present and a character device?

That's more likely than it might sound. A proper way to implement the /dev/tcp/ feature (if you're going to implement it at all) would be to use FUSE, and it wouldn't surprise me if someone did that within the next 5 years.

--
Dwayne C. Litzenberger <dlitz@dlitz.net>



Reply to: