Date: Thu, 27 Feb 2003 20:19:20 +0100 From: Wilko Bulte <wkb@freebie.xs4all.nl> To: John Baldwin <jhb@FreeBSD.ORG> Cc: Peter Pentchev <roam@ringlet.net>, arch@FreeBSD.ORG, Poul-Henning Kamp <phk@phk.freebsd.dk>, Julian Elischer <julian@elischer.org> Subject: Re: (almost) Ready to ditch device major numbers. Message-ID: <20030227201920.A1280@freebie.xs4all.nl> In-Reply-To: <XFMail.20030227141158.jhb@FreeBSD.org>; from jhb@FreeBSD.ORG on Thu, Feb 27, 2003 at 02:11:58PM -0500 References: <20030227071247.GJ487@straylight.oblivion.bg> <XFMail.20030227141158.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 27, 2003 at 02:11:58PM -0500, John Baldwin wrote: > > 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). Remembers me of RFS on SysV. There you could have device access on RFS mounted fs. IIRC that is, it's been a while.. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227201920.A1280>