devfs
[Top] [All Lists]

Re: [Re: [Re: [Re: devfs and PCMCIA scripts]]]

To: Brian Rossmeisl <brossmeisl@xxxxxxx>
Subject: Re: [Re: [Re: [Re: devfs and PCMCIA scripts]]]
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Thu, 29 Mar 2001 18:28:29 -0700
Cc: devfs@xxxxxxxxxxx
In-reply-to: <20010121025728.9730.qmail@nwcst282.netaddress.usa.net>
References: <20010121025728.9730.qmail@nwcst282.netaddress.usa.net>
Sender: owner-devfs@xxxxxxxxxxx
Brian Rossmeisl writes:
> Hmm,
>       I dunno, maybe Richard Gooch might be able to help us out on this one.
> 
> corleyja@xxxxxxxxxxxx wrote:
> > 
> > No, but /dev-state and /dev are bound at bootup so they contain the same 
> > devices at any given time.  Is this method even recommended anymore?  I've 
> > added the following lines into my /etc/rc.d/rc.sysinit script as per Richard
> 
> > Gooch's homepage on devfs:
> >     /bin/mount --bind /dev /dev-state
> >     /bin/mount -t devfs none /dev
> >     /sbin/devfsd /dev
> > I did this in order to preserve permissions across reboots, which it does. 
> >  It just doesn't keep devices I've created in /dev.

I know. It's on my ToDo list. The COPY action is only useful for
device nodes that are created via the devfs API (i.e. by drivers),
since actions are taken in response to events. Since there isn't an
event per entry in the /dev-state database, devfsd can't restore
everything that's in the database. Blindly generating fake events for
every entry in the database isn't the solution either. A more subtle
approach is required. I've got something in mind, so hang on.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Re: [Re: [Re: devfs and PCMCIA scripts]]], Richard Gooch <=