9fans archive / 2008 / 06 / 19 prev next
From: Nyang A. Phra <naphra@gma...>
Subject: read/write offset hack
Date: Mon, 2 Jun 2008 08:53:53 GMT
On May 30, 6:06 pm, r...@swtch.com (Russ Cox) wrote:
> If you want to violate a convention, Plan 9 won't stop you,
> but in doing so you give up compatibility with programs that
> depend on that convention (bind /net/tcp /proc; ps).
> Sure, you could replace ctl and clone and other special files with reads
> and writes at magic offsets, but in doing so you give up accessing
> those files with standard programs like echo and cat. For me,
> the main benefit of user-level file servers is exactly that I can
> interact with them from a wide variety of programs, including
> scripts and interactive shell sessions. I'd need a pretty compelling
> reason before I gave that up.
Thanks Russ for such a thorough and pragmatic response, I'm happy to
have learned something :)
Nyang