From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3598a04c733942f7f010ad61d83a8bc2@quanstro.net> To: 9fans@9fans.net From: erik quanstrom Date: Sat, 3 Jan 2009 17:40:38 -0500 In-Reply-To: <8ccc8ba40901031421l430abd92je774b81862b1fb31@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] directly opening Plan9 devices Topicbox-Message-UUID: 76e4937a-ead4-11e9-9d60-3106f5b1d025 > Probably it was considered too restrictive not doing so, but that's IMHO. there are suprisingly few uses of this. even nsec opens /dev/bintime directly. none seem particularly compelling. minooka; grep -n open `{find lib*|grep '\.[ch]$'}|grep '"#[|decp]' libc/9sys/getpid.c:11: f = open("#c/pid", 0); libc/9sys/syslog.c:83: sl.consfd = open("#c/cons", OWRITE|OCEXEC); libc/9sys/sysname.c:13: f = open("#c/sysname", 0); - erik