From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 15 May 2001 21:05:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 15 May 2001 21:05:10 -0400 Received: from neon-gw.transmeta.com ([209.10.217.66]:50194 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 15 May 2001 21:05:05 -0400 From: "H. Peter Anvin" Message-ID: <3B01D239.4C5F1607@transmeta.com> Date: Tue, 15 May 2001 18:04:57 -0700 Organization: Transmeta Corporation X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.4 i686) X-Accept-Language: en, sv, no, da, es, fr, ja MIME-Version: 1.0 To: Daniel Phillips CC: Linus Torvalds , Alexander Viro , James Simmons , Alan Cox , Neil Brown , Jeff Garzik , Linux Kernel Mailing List Subject: Re: LANANA: To Pending Device Number Registrants In-Reply-To: <01051603014903.00406@starship> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Daniel Phillips wrote: > > Sounds like "treat it like a file and it acts like a file, treat it > like a directory and it acts like a directory". > The original plan was that you only could indirect through it; not chdir() for example. One could do the whole enchilada, but then one would have to expect that open() could have very different effects with and without O_DIRECTORY (and open() on directories without O_DIRECTORY should be outlawed with prejudice.) -hpa -- at work, in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt