From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Mon, 3 Sep 2007 09:27:19 +0000 From: "Douglas A. Gwyn" Message-ID: References: <5d375e920709010507u605a0700h331a32934969abb8@mail.gmail.com>, <7871fcf50709011811u19834b47qdc8ac9da989c3dd6@mail.gmail.com> Subject: Re: [9fans] Re: everything is a directory Topicbox-Message-UUID: b5021ef4-ead2-11e9-9d60-3106f5b1d025 "Joel C. Salomon" wrote ... > Back on topic, I wasn't proposing a readdir() syscall but pointing out > that Douglas's suggestion would not in fact be painless or transparent > under Plan 9. Since I was unable to get Plan9 installed successfully when I set up my home systems, and can't use it at work, I don't have direct experience with its implementation. I had been thinking that the Twalk part of 9P was connected with getting directory entries. However, if dirread() is used instead, then the implementation of dirread() would of course have to change (turn into a syscall, with stuff added to 9P and the various file servers, alas). That would indeed require a lot of work. Unix already made the change a couple of decades ago.