Re: devfs - why not ?

From: Michael H. Warfield (mhw@wittsend.com)
Date: Wed Apr 12 2000 - 20:17:53 EST


On Wed, Apr 12, 2000 at 08:04:48PM -0600, Richard Gooch wrote:
> Michael H. Warfield writes:
> > On Wed, Apr 12, 2000 at 07:53:37PM -0400, Justin Hahn wrote:
> > > On Wed, 12 Apr 2000, Ricky Beam wrote:
> > > > On Wed, 12 Apr 2000, Michael H. Warfield wrote:
> > > > > Now if there were only a CLEAN solution to the non-volatile
> > > > >attributes problem. Set permissions and ownership of a device. Device
> >
> > > > If you define "clean solution" as '/usr/bin/vi'... either alter the
> > > > settings in the source or reset them everytime it's loaded.
> >
> > > How hard is setting up devfsd?? The man page explains it in perfect detail.

> > It's a bitch and you're dreaming if it's anything that wasn't
> > anticipated in advance. Based on the devfsd man page, explain to me
> > exactly how to configure devsfd to create a link from ttf/{n} to
> > ttyF{n} any time a device in the ttf subdirectory is created in
> > devfs. Give it your best shot.

> If I add C-shell style $var:t support, then you will be able to do
> this easily in the config file. Of course, hacking devfsd.c is another
> option (possibly better: I'll get back to you on that one).

        Better yet... Add perl style regex substitutions. You got a
source string (the devfs name) you got a transform, apply it.

        Example:

        s/ttyf\/\([0-9]*\)/ttyF\1/

        What's so hard about that? :-)

        You might even apply some up/down permission saving options based
on regex's and a non-volatile file system.

        [...]

> OK, will people *PLEASE* stop whinging about this? I've already said,
> multiple times, that I'll be adding "tunnelling" down to the
> underlying disc-based FS. It's Work In Progress (there's even evidence
> of it in fs/devfs/base.c)

> Just be patient, and it will be solved cleanly.

        Now that is a tough one and one I DON'T envy you. It won't die down
on promises and it won't die done on bandaids and vaporware. You promise
it, I'll accept it, but I will hold you to it and look forward to it.

> Regards,

> Richard....
> Permanent: rgooch@atnf.csiro.au
> Current: rgooch@ras.ucalgary.ca

        Mike

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:20 EST