Re: small devfs patch for 2.5.65, plan to replace /sbin/hotplug

Christoph Hellwig
2003-03-21T21:08:22Z

On Fri, Mar 21, 2003 at 01:10:10PM -0800, Adam J. Richter wrote:
> I'm thinking about removing all of the capability raising code
> from devfs and just having the pty code raise the capabilities
> explicitly if allocating and releasing a pseudo-terminal are really
> the only places that ever need it.

My plan is to rip out UNIX98 pty handling copletly out of devfs instead.
We already have a lean, small filesystem exactly for that purpose and
it adds lots of unessecary cruft to devfs (DEVFS_FL_CURRENT_OWNER and
DEVFS_FL_WAIT to be exact). Afterwards devfs would only create /dev/pts/
(and /dev/pty/ as devfs renamed it IIRC) and devfs users would have to
mount devpts aswell.