From owner-freebsd-arch Thu Feb 27 11:11:48 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77DAD37B405 for ; Thu, 27 Feb 2003 11:11:47 -0800 (PST) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id D864943FAF for ; Thu, 27 Feb 2003 11:11:45 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 13232 invoked from network); 27 Feb 2003 19:11:51 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Feb 2003 19:11:51 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h1RJAAhT027301; Thu, 27 Feb 2003 14:10:10 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030227071247.GJ487@straylight.oblivion.bg> Date: Thu, 27 Feb 2003 14:11:58 -0500 (EST) From: John Baldwin To: Peter Pentchev Subject: Re: (almost) Ready to ditch device major numbers. Cc: arch@freebsd.org, Poul-Henning Kamp , Julian Elischer Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27-Feb-2003 Peter Pentchev wrote: > On Wed, Feb 26, 2003 at 02:55:34PM -0800, Julian Elischer wrote: >> On Wed, 26 Feb 2003, Poul-Henning Kamp wrote: >> >> > >> > We are now (almost) ready to ditch device major numbers if we want to. >> > >> > >> > 5) Remove the d_maj field from struct cdevsw entirely and make >> > dynamic allocation the default. >> > >> > Comments welcome. >> >> Sounds right to me.. >> (I assume there are no NFS related gotchas) > > What happens to a FreeBSD NFS server, or rather, to its clients, if the > server is rebooted and the client remounts the NFS share? Could some > programs at the client side be confused by the suddenly changed device > major numbers? devices are local to the machine. If you open a cdev from an NFS mount, it will try to open it as a device on the local machine, not on the remote machine. Exporting devfs over NFS seems rather pointless. Exporting devices over NFS is only really useful for diskless boots on systems w/o devfs (i.e. 4.x). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message