Re: udev and network devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 15, 2008 at 20:09, Matthew Dharm
<mdharm-usb@xxxxxxxxxxxxxxxxxx> wrote:
> On Sat, Nov 15, 2008 at 02:19:25PM +0100, Kay Sievers wrote:
>> On Sat, Nov 15, 2008 at 11:02, Michel Rode <rmichel@xxxxxxxxxxx> wrote:
>> > i tried to rename my network device - this works, but the symlink are not exists.
>> >
>> > This is my rule:
>> > SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:6f:b5:8b:76", ATTR{type}=="1", KERNEL=="eth*", NAME="wlan0", SYMLINK+="eth1"
>> >
>> > Now i have the idea, that it could not work because there are not such device in /dev - is it true ?
>>
>> Right, network interfaces do not have any device nodes. The interface
>> names exist only in the kernel. There is only one name per interface
>> and nothing similar to the concept of symlinks.
>
> What about aliased interfaces?  Or are those really considered separate
> devices?

It's a bit different. Aliases carry their own information and state,
they are usually used to assign different IP addresses to an
interface. Symlinks to device nodes have no further meaning as their
name, and just point to the "real" device, without any own properties.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux