Re: /dev/net/tun no longer exists in F31 rawhide ?

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

 



On 18/03/2019 14:07, Daniel P. Berrangé wrote:

Historically in Fedora the /dev/net/tun device always existed, even if
there is no 'tun' module currently loaded. Opening it then cause the
'tun' kernel module to autoload IIUC.

It doesn't just exist..

There is a systemd service (kmod-static-nodes.service) which runs
at boot and generates:

  /run/tmpfiles.d/kmod.conf

Which is then processed by systemd-tmpfiles-setup-dev.service to
create the device nodes.

The actual list comes from "/usr/bin/kmod static-nodes" which
uses the devname and char-major aliases in the module to decide
what device nodes to create.

Tom

--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux