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
|