Ответ: MDEV: rename

Vladimir Dronnikov dronnikov at gmail.com
Fri Mar 28 19:01:50 UTC 2008


Hello!

Of course I can give an example:

---
timer root:audio 660 >snd/TIMER
---
( Note the symbols case of rename clause. )

Current SVN mdev moves /dev/timer to /dev/snd/timer and leaves symlink
/dev/timer -> snd/timer. Note, not TIMER but timer...

If you like I'll send a patch (draft, may be) to fix this issue. Or it
IS intended bahavior?

--
Vladimir


2008/3/28, Denys Vlasenko <vda.linux at googlemail.com>:
> On Friday 28 March 2008 15:59, Vladimir Dronnikov wrote:
> > Hello!
> >
> > When a rename rule specified in mdev.conf contains a filename (i.e. not
> ends
> > with '/') mdev throws away basename(filename) portion. It creates
> directory
> > structure (if any) and then simply appends device_name, not uses provided
> > filename verbatim.
>
> Can you give an example?
>
> > Is this behavior intended or may be considered as a bug?
>
> Possibly "not ends with slash" check was meant to be "ends with slash".
> --
> vda
>



More information about the busybox mailing list