{"id":20667019,"url":"https://github.com/lu-zero/udev","last_synced_at":"2025-04-19T17:06:07.582Z","repository":{"id":3125629,"uuid":"4153280","full_name":"lu-zero/udev","owner":"lu-zero","description":"Random experiments and study over udev stand-alone codebase","archived":false,"fork":false,"pushed_at":"2012-04-26T23:28:47.000Z","size":7444,"stargazers_count":6,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T00:16:48.524Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lu-zero.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-26T23:27:57.000Z","updated_at":"2023-05-17T01:51:29.000Z","dependencies_parsed_at":"2022-09-20T16:41:10.712Z","dependency_job_id":null,"html_url":"https://github.com/lu-zero/udev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fudev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fudev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fudev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lu-zero%2Fudev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lu-zero","download_url":"https://codeload.github.com/lu-zero/udev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224964672,"owners_count":17399434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T19:42:37.050Z","updated_at":"2024-11-16T19:42:37.692Z","avatar_url":"https://github.com/lu-zero.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"***********************************************************\n The udev development has moved to:\n   http://www.freedesktop.org/wiki/Software/systemd\n   http://cgit.freedesktop.org/systemd/systemd/\n\n This tree will no longer be updated after April 2012:\n   http://thread.gmane.org/gmane.linux.hotplug.devel/17392\n\n***********************************************************\n\nudev - Linux userspace device management\n\nIntegrating udev in the system has complex dependencies and may differ from\ndistribution to distribution. A system may not be able to boot up or work\nreliably without a properly installed udev version. The upstream udev project\ndoes not recommend replacing a distro's udev installation with the upstream\nversion.\n\nThe upstream udev project's set of default rules may require a most recent\nkernel release to work properly.\n\nTools and rules shipped by udev are not public API and may change at any time.\nNever call any private tool in /usr/lib/udev from any external application; it\nmight just go away in the next release. Access to udev information is only offered\nby udevadm and libudev. Tools and rules in /usr/lib/udev and the entire contents\nof the /run/udev directory are private to udev and do change whenever needed.\n\nRequirements:\n  - Version 2.6.34 of the Linux kernel with sysfs, procfs, signalfd, inotify,\n    unix domain sockets, networking and hotplug enabled\n\n  - Some architectures might need a later kernel, that supports accept4(),\n    or need to backport the accept4() syscall wiring in the kernel.\n\n  - These options are required:\n      CONFIG_DEVTMPFS=y\n      CONFIG_HOTPLUG=y\n      CONFIG_INOTIFY_USER=y\n      CONFIG_NET=y\n      CONFIG_PROC_FS=y\n      CONFIG_SIGNALFD=y\n      CONFIG_SYSFS=y\n      CONFIG_SYSFS_DEPRECATED*=n\n      CONFIG_UEVENT_HELPER_PATH=\"\"\n\n  - These options might be needed:\n      CONFIG_BLK_DEV_BSG=y (SCSI devices)\n      CONFIG_TMPFS_POSIX_ACL=y (user ACLs for device nodes)\n\n  - The /dev directory needs the 'devtmpfs' filesystem mounted.\n    Udev only manages the permissions and ownership of the\n    kernel-provided device nodes, and possibly creates additional symlinks.\n\n  - Udev requires /run to be writable, which is usually done by mounting a\n    'tmpfs' filesystem.\n\n  - This version of udev does not work properly with the CONFIG_SYSFS_DEPRECATED*\n    option enabled.\n\n  - The deprecated hotplug helper /sbin/hotplug should be disabled in the\n    kernel configuration, it is not needed today, and may render the system\n    unusable because the kernel may create too many processes in parallel\n    so that the system runs out-of-memory.\n\n  - The proc filesystem must be mounted on /proc, and the sysfs filesystem must\n    be mounted at /sys. No other locations are supported by a standard\n    udev installation.\n\n  - The default rule sset requires the following group names resolvable at udev startup:\n      disk, cdrom, floppy, tape, audio, video, lp, tty, dialout, and kmem.\n    Especially in LDAP setups, it is required that getgrnam() be able to resolve\n    these group names with only the rootfs mounted and while no network is\n    available.\n\n  - Some udev extras have external dependencies like:\n      libglib2, usbutils, pciutils, and gperf.\n    All these extras can be disabled with configure options.\n\nSetup:\n  - The udev daemon should be started to handle device events sent by the kernel.\n    During bootup, the events for already existing devices can be replayed, so\n    that they are configured by udev. The systemd service files contain the\n    needed commands to start the udev daemon and the coldplug sequence.\n\n  - Restarting the daemon never applies any rules to existing devices.\n\n  - New/changed rule files are picked up automatically; there is usually no\n    daemon restart or signal needed.\n\nOperation:\n  - Based on events the kernel sends out on device creation/removal, udev\n    creates/removes device nodes and symlinks in the /dev directory.\n\n  - All kernel events are matched against a set of specified rules, which\n    possibly hook into the event processing and load required kernel\n    modules to set up devices. For all devices, the kernel exports a major/minor\n    number; if needed, udev creates a device node with the default kernel\n    device name. If specified, udev applies permissions/ownership to the device\n    node, creates additional symlinks pointing to the node, and executes\n    programs to handle the device.\n\n  - The events udev handles, and the information udev merges into its device\n    database, can be accessed with libudev:\n      http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/\n      http://www.kernel.org/pub/linux/utils/kernel/hotplug/gudev/\n\nFor more details about udev and udev rules, see the udev man pages:\n      http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/\n\nPlease direct any comment/question to the linux-hotplug mailing list at:\n  linux-hotplug@vger.kernel.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fudev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flu-zero%2Fudev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flu-zero%2Fudev/lists"}