Ответ: Ответ: MDEV: rename
Mike Frysinger
vapier at gentoo.org
Sat Mar 29 00:00:48 PDT 2008
On Saturday 29 March 2008, Vladimir Dronnikov wrote:
please do not top post
> 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.
-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/9f013b01/attachment.pgp
More information about the busybox
mailing list