From owner-freebsd-current Wed Aug 15 2:59: 5 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id A883937B40A; Wed, 15 Aug 2001 02:59:02 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.4/8.11.4) with ESMTP id f7F9wrn78300; Wed, 15 Aug 2001 11:58:53 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Andrew Kenneth Milton Cc: Greg Lehey , Michael Lucas , current@FreeBSD.ORG Subject: Re: devfs and Vinum (was: any -current && vinum problems?) In-Reply-To: Your message of "Wed, 15 Aug 2001 19:53:44 +1000." <20010815195344.J854@zeus.theinternet.com.au> Date: Wed, 15 Aug 2001 11:58:53 +0200 Message-ID: <78298.997869533@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010815195344.J854@zeus.theinternet.com.au>, Andrew Kenneth Milton writes: >The problem turns up most violently within the XFree86 DRI Module, since >it now uses make_dev, and not mknod as it used to. > >The DRI Module first attempts to mkdir /dev/dri/, and then for each card >it supports attempts to use make_dev(9) on dri/card%d (0-whatever), I've >only got one card, so for me dri/card0. It should simply make_dev() "dri/card%d", the directory is created by devfs on demand. You should not mkdir("/dev/dri"); -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message