Hello Kay, On Mon, Apr 19, 2010 at 07:06:06PM +0200, Kay Sievers wrote: > Udev should no longer delete the link it has created: > > http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=6252f9e732c827defdac38e2eccab0657492d9c9
Thank you very much. The patch works well: $ ls -l /dev/dm* /dev/audio* lrwxrwxrwx 1 root root 6 Apr 19 20:43 /dev/audio -> audio0 crw-rw----+ 1 root audio 14, 4 Apr 19 20:43 /dev/audio0 crw-rw----+ 1 root audio 14, 20 Apr 19 20:43 /dev/audio1 lrwxrwxrwx 1 root root 10 Apr 19 20:43 /dev/dm-0 -> mapper/md1 lrwxrwxrwx 1 root root 10 Apr 19 20:43 /dev/dm-1 -> mapper/md2 lrwxrwxrwx 1 root root 10 Apr 19 20:43 /dev/dm-2 -> mapper/md3 lrwxrwxrwx 1 root root 10 Apr 19 20:43 /dev/dm-3 -> mapper/md4 lrwxrwxrwx 1 root root 10 Apr 19 20:43 /dev/dm-4 -> mapper/md5 lrwxrwxrwx 1 root root 10 Apr 19 20:43 /dev/dm-5 -> mapper/md6 lrwxrwxrwx 1 root root 10 Apr 19 20:43 /dev/dm-6 -> mapper/md7 > Still, replacing the default kernel-named nodes with links with the > same name can result in unexpected behavior and is not supported. It > does not matter if devtmpfs is used or not, today the kernel defines > the device nodes names, and udev manages only additional symlinks and > the node's permissions. Yes, I got that. It would probably be a good idea, as Bastian suggested in Message-ID: <[email protected]>, to document this. A note in the manpage should be enough, something like ... | The following keys can get values assigned: | | NAME | The name of the node to be created, or the name the network | interface should be renamed to. NOTE: changing the kernel-provided name of device nodes (except for network devices) is not supported and can result in unexpected behavior. Today, the kernel defines the device nodes names, and udev is expected to only manage the node's permissions and additional symlinks. ... should be sufficient (I used most of your sentence, just tried to re-organize it a little bit to match importance). Thanks again & best regards Mario -- Computer Science is no more about computers than astronomy is about telescopes. -- E. W. Dijkstra
signature.asc
Description: Digital signature

