Ответ: MDEV: rename
Mike Frysinger
vapier at gentoo.org
Fri Mar 28 21:28:45 PDT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://busybox.net/lists/busybox/attachments/20080329/eee27f58/attachment.pgp
More information about the busybox
mailing list