Otvet: Otvet: Otvet: MDEV: rename
Mike Frysinger
vapier at gentoo.org
Sat Mar 29 08:13:11 PDT 2008
On Saturday 29 March 2008, Vladimir Dronnikov wrote:
> 2008/3/29, Mike Frysinger <vapier at gentoo.org>:
> > On Saturday 29 March 2008, Vladimir Dronnikov wrote:
> >
> > please do not top post
>
> It is much harder in elinks and web-mail but I'll try to do my best.
>
> > > 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?
> >
> > the mdev.txt explains the expected behavior. if the destination ends in a
> > /,
> > then the device node is moved there and the old name is symlinked. if the
> > destination does not end in a /, then the device node is renamed to that
> > and the old name is symlinked. this way both moving and symlinking are
> > supported.
> >
> > > If a user orders a certain device (and symlink) to be named MYTIMER
> > > why mdev doesn't respect this?
> >
> > it works for me:
> > input.* 0:0 0644 >input/
> >
> > all input device nodes get placed into the input subdirectory and
> > symlinked from the top directory.
>
> This is evident. But what if I want to name /dev/fb0 as /dev/fb? What
> is the mdev.conf's rule?
fb0 0:0 0644 >fb
-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/2b0239fc/attachment.pgp
More information about the busybox
mailing list