From owner-freebsd-hackers Tue Nov 6 9: 0:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id AE16037B405 for ; Tue, 6 Nov 2001 09:00:37 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fA6H0Wa05377; Tue, 6 Nov 2001 10:00:33 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fA6H0V724455; Tue, 6 Nov 2001 10:00:31 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200111061700.fA6H0V724455@harmony.village.org> To: Dag-Erling Smorgrav Subject: Re: devfs? Cc: "Kevin D.Wooten" , freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "06 Nov 2001 17:16:31 +0100." References: <77717.1004986298@critter.freebsd.dk> <01110512492207.08198@newton.cevio.com> Date: Tue, 06 Nov 2001 10:00:31 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message Dag-Erling Smorgrav writes: : Kevin D.Wooten writes: : > Well the linux devfs has a compatibility mode that maintains a /dev : > that looks exactly like pre-devfs ( the actual list of files is : > static ), and only links up ( mknod ) the newly added devices to the : > pre-existing files. There is also the non-compatible mode which only : > has files for the devices you actually have, and creates the files : > on demand. : : What's the point with having device nodes for devices you don't have? So open return -1 with errno set to ENXIO rater than ENOENT. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message