Subject: Re: dupfd hack and clonable devices
To: None <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 11/18/2004 08:10:24
> Would the simple idea of providing specfs with vfs ops, and then
> backing up the inital vnode and replacing it by a new one with the
> correct pointers (and notably the correct dev_t number) in spec_open
> be possible?
Or do what SVR4 (and probably solaris do) which is to give VOP_OPEN
and extra parameter so that the FS dependant code can return a
different vnode from the one that was retirned by the lookup.
Simplifying it for specfs - allow driver to set an alternate maj/min.
David Laight: firstname.lastname@example.org