From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,545994e5629425b4 X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-04-22 02:12:56 PST Newsgroups: comp.os.linux.announce Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!noc.near.net!uunet!news.tele.fi!news.funet.fi!hydra!klaava!wirzeniu From: Ken Pizzini Subject: correction for: file descriptor device (/dev/fd) Message-ID: <1993Apr22.084242.19514@klaava.Helsinki.FI> Followup-To: comp.os.linux Keywords: correction, /dev/fd Sender: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) Organization: University of Helsinki References: <1993Apr21.074453.16916@klaava.Helsinki.FI> Date: Thu, 22 Apr 1993 08:42:42 GMT Well, Stephen Tweedie pointed out to me that I implemented /dev/fd/n the hard way. Here is a new installation script, completely replacing my previous post (well, perhaps the man page is still useful): ---Begin included text--- cd /dev ln -s /proc/self/fd fd ln -s fd/0 stdin ln -s fd/1 stdout ln -s fd/2 stderr ---End included text--- Sigh. At least it wasn't a total waste -- I learned about how to integrate device drivers into Linux. I also now have some /dev/fd code to use as a starting point for other OSes that lack both /proc and /dev/fd/n support (such as SunOS 4.x). --Ken Pizzini