Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: Ken Pizzini <ken@halcyon.halcyon.com>
Subject: correction for: file descriptor device (/dev/fd)
Date: Thu, 22 Apr 1993 08:42:42 GMT	[thread overview]
Message-ID: <1993Apr22.084242.19514@klaava.Helsinki.FI> (raw)
In-Reply-To: 1993Apr21.074453.16916@klaava.Helsinki.FI

Well, Stephen Tweedie <sct@dcs.ed.ac.uk> 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


      reply	other threads:[~1993-04-22  8:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-04-21  7:44 file descriptor device (/dev/fd) Ken Pizzini
1993-04-22  8:42 ` Ken Pizzini [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox