Re: devtmpfs and udev

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

 



On Tue, Jan 26, 2010 at 17:38, Ozan Çağlayan <ozan@xxxxxxxxxxxxx> wrote:
> When using devtmpfs, do we still have to copy /lib/udev/devices to /dev before running udev?

Yes. something like this is still the recommended way to initially fill /dev:
  cp -axT --remove-destination /lib/udev/devices /dev

> What are the device nodes
> that should always be created/copied statically?

No device nodes are needed with devtmpfs. Only if old-style on-demand
loading should work, /dev/ppp /dev/net/tun and /dev/lp0 might be there

> And what about the links below[0]? Are they still required for a proper udev functionality?
>
> ln -sv /proc/self/fd /lib/udev/devices/fd
> ln -sv /proc/self/fd/0 /lib/udev/devices/stdin
> ln -sv /proc/self/fd/1 /lib/udev/devices/stdout
> ln -sv /proc/self/fd/2 /lib/udev/devices/stderr
> ln -sv /proc/kcore /lib/udev/devices/core

Udev does not care, bash, or other shells might want them. These links
are usually just in /lib/udev/devices.

Thanks,
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