Ответ: Ответ: MDEV: rename

Vladimir Dronnikov dronnikov at gmail.com
Sat Mar 29 06:39:54 UTC 2008


What was intentional, Mike? To move device node while leaving a
symlink to it? Or to not account the basename of new device node
location?

If a user orders a certain device (and symlink) to be named MYTIMER
why mdev doesn't respect this?

--
Vladimir

2008/3/29, Mike Frysinger <vapier at gentoo.org>:
> On Friday 28 March 2008, Denys Vlasenko wrote:
> > On Friday 28 March 2008 20:01, Vladimir Dronnikov wrote:
> > > 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...
> >
> > You mean
> >
> > timer root:audio 660 >snd/anything
> >
> > moves /dev/timer to /dev/snd/timer, and
> >
> > timer root:audio 660 >snd/anything/
> >
> > moves /dev/timer to /dev/snd/anything/timer.
> >
> > first one seems to be a bug, second one is ok.
>
> it was intentional behavior so people could get "make a symlink" or "move"
> at
> the same time without having to create extra code.  sometimes it does leave
> a
> slightly messier /dev, but so what ?
> -mike
>



More information about the busybox mailing list