Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 14:11:58 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        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:  <XFMail.20030227141158.jhb@FreeBSD.org>
In-Reply-To: <20030227071247.GJ487@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030227141158.jhb>