> 
> Borsenkow Andrej <[EMAIL PROTECTED]> writes:
> 
> > > >
> > > > REGISTER        ^hdc$   CFUNCTION GLOBAL symlink hdc dvd
> >                                                  ^^^
> >                                                  $devname
> > > > UNREGISTER      ^hdc$   CFUNCTION GLOBAL unlink dvd
> > > >
> >
> > Ehh ... that's not going to work. /dev/hdc in never registered. You
have
> > to use
> 
> all i care is that it works ;p
> 

Yeah, it is the case when it does it "by mistake". When you do kill -HUP
devfsd it simulates REGISTER for everything it finds under /dev. So it
appears to work. Too easy to break by possible devfsd/devfs change

> >
> > REGISTER ^ide/.../cd$
> 
> yeah, one day DrakX will know the devfs names...

Look in rc.sysinit there is shell function that builds devfs names for
IDE. It is trivial actually. For SCSI things are not as simple
unfortunately.

-andrej

Reply via email to