pub/scm/linux/hotplug/udev.git  about / heads / tags
udev development tree
$ git log --pretty=format:'%h %s (%cs)%d'
28f04cff autogen.sh: fix typo in common configuration options (2012-04-18)
	(HEAD -> master)
a7d841f5 README: add link to systemd wiki and repository (2012-04-14)
310f4a9a keymap: Add HP Compaq Presario CQ* (2012-03-28)
6be42436 keymap: Add Dell XPS force-release quirk (2012-03-28)
4db539b2 rules: sound - set ID_ID for firewire devices (2012-03-22)
8482018a libudev: monitor - do not memset() receive buffer (2012-03-22)
abac5c79 keymap: Add Samsung 90X3A (2012-03-21)
427c9ba2 rules: sound - add vendor/model strings for firewire devices (2012-03-21)
a3a304dd release 182 (2012-03-18)
	(tag: 182)
183215e7 build-sys: place build binaries in the root (2012-03-18)
...

$ git cat-file blob HEAD:README
***********************************************************
 The udev development has moved to:
   http://www.freedesktop.org/wiki/Software/systemd
   http://cgit.freedesktop.org/systemd/systemd/

 This tree will no longer be updated after April 2012:
   http://thread.gmane.org/gmane.linux.hotplug.devel/17392

***********************************************************

udev - Linux userspace device management

Integrating udev in the system has complex dependencies and may differ from
distribution to distribution. A system may not be able to boot up or work
reliably without a properly installed udev version. The upstream udev project
does not recommend replacing a distro's udev installation with the upstream
version.

The upstream udev project's set of default rules may require a most recent
kernel release to work properly.

Tools and rules shipped by udev are not public API and may change at any time.
Never call any private tool in /usr/lib/udev from any external application; it
might just go away in the next release. Access to udev information is only offered
by udevadm and libudev. Tools and rules in /usr/lib/udev and the entire contents
of the /run/udev directory are private to udev and do change whenever needed.

Requirements:
  - Version 2.6.34 of the Linux kernel with sysfs, procfs, signalfd, inotify,
    unix domain sockets, networking and hotplug enabled

  - Some architectures might need a later kernel, that supports accept4(),
    or need to backport the accept4() syscall wiring in the kernel.

  - These options are required:
      CONFIG_DEVTMPFS=y
      CONFIG_HOTPLUG=y
      CONFIG_INOTIFY_USER=y
      CONFIG_NET=y
      CONFIG_PROC_FS=y
      CONFIG_SIGNALFD=y
      CONFIG_SYSFS=y
      CONFIG_SYSFS_DEPRECATED*=n
      CONFIG_UEVENT_HELPER_PATH=""

  - These options might be needed:
      CONFIG_BLK_DEV_BSG=y (SCSI devices)
      CONFIG_TMPFS_POSIX_ACL=y (user ACLs for device nodes)

  - The /dev directory needs the 'devtmpfs' filesystem mounted.
    Udev only manages the permissions and ownership of the
    kernel-provided device nodes, and possibly creates additional symlinks.

  - Udev requires /run to be writable, which is usually done by mounting a
    'tmpfs' filesystem.

  - This version of udev does not work properly with the CONFIG_SYSFS_DEPRECATED*
    option enabled.

  - The deprecated hotplug helper /sbin/hotplug should be disabled in the
    kernel configuration, it is not needed today, and may render the system
    unusable because the kernel may create too many processes in parallel
    so that the system runs out-of-memory.

  - The proc filesystem must be mounted on /proc, and the sysfs filesystem must
    be mounted at /sys. No other locations are supported by a standard
    udev installation.

  - The default rule sset requires the following group names resolvable at udev startup:
      disk, cdrom, floppy, tape, audio, video, lp, tty, dialout, and kmem.
    Especially in LDAP setups, it is required that getgrnam() be able to resolve
    these group names with only the rootfs mounted and while no network is
    available.

  - Some udev extras have external dependencies like:
      libglib2, usbutils, pciutils, and gperf.
    All these extras can be disabled with configure options.

Setup:
  - The udev daemon should be started to handle device events sent by the kernel.
    During bootup, the events for already existing devices can be replayed, so
    that they are configured by udev. The systemd service files contain the
    needed commands to start the udev daemon and the coldplug sequence.

  - Restarting the daemon never applies any rules to existing devices.

  - New/changed rule files are picked up automatically; there is usually no
    daemon restart or signal needed.

Operation:
  - Based on events the kernel sends out on device creation/removal, udev
    creates/removes device nodes and symlinks in the /dev directory.

  - All kernel events are matched against a set of specified rules, which
    possibly hook into the event processing and load required kernel
    modules to set up devices. For all devices, the kernel exports a major/minor
    number; if needed, udev creates a device node with the default kernel
    device name. If specified, udev applies permissions/ownership to the device
    node, creates additional symlinks pointing to the node, and executes
    programs to handle the device.

  - The events udev handles, and the information udev merges into its device
    database, can be accessed with libudev:
      http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/
      http://www.kernel.org/pub/linux/utils/kernel/hotplug/gudev/

For more details about udev and udev rules, see the udev man pages:
      http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/

Please direct any comment/question to the linux-hotplug mailing list at:
  linux-hotplug@vger.kernel.org

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
* master       autogen.sh: fix typo in common configuration options (2012-04-18)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
182          udev 182 (2012-03-18) tar.gz
181          udev 181 (2012-02-07) tar.gz
180          udev 180 (2012-01-29) tar.gz
179          udev 179 (2012-01-25) tar.gz
178          udev 178 (2012-01-21) tar.gz
177          udev 177 (2012-01-12) tar.gz
176          udev 176 (2012-01-11) tar.gz
175          udev 175 (2011-11-07) tar.gz
174          udev 174 (2011-10-19) tar.gz
173          release 173 (2011-07-30) tar.gz
...

# associated public inboxes:
# (number on the left is used for dev purposes)
        319 linux-hotplug
        196 lkml
         46 qemu-devel
         44 netdev
         42 u-boot
         39 linux-arm-kernel
         35 stable
         22 dpdk-dev
         21 linux-wireless
         21 linux-input
         20 linux-devicetree
         19 git
         17 linuxppc-dev
         17 kvm
         15 linux-mm
         15 linux-media
         15 xen-devel
         15 dri-devel
         14 intel-gfx
         14 buildroot
         14 openembedded-core
         12 linux-nfs
         10 alsa-devel
         10 linux-rdma
         10 initramfs
          9 linux-fsdevel
          9 linux-scsi
          9 util-linux
          9 amd-gfx
          9 openembedded-devel
          8 linux-acpi
          8 selinux
          8 linux-doc
          8 linux-omap
          7 linux-xfs
          7 linux-bluetooth
          7 virtualization
          6 linux-samsung-soc
          6 linux-mtd
          6 linux-nvme
          6 bpf
          6 netfilter-devel
          6 linux-mips
          6 linux-pm
          6 driverdev-devel
          6 linux-modules
          6 cip-dev
          6 linux-arch
          6 linux-fbdev
          6 linux-s390
          6 xenomai
          5 linux-mediatek
          5 linux-nvdimm
          5 linux-iommu
          5 linux-usb
          5 linux-renesas-soc
          5 linux-iio
          5 linux-mmc
          5 linux-api
          5 containers
          5 dm-devel
          5 linux-perf-users
          5 lustre-devel
          5 nvdimm
          5 linux-patches
          4 linux-riscv
          4 linux-crypto
          4 linux-arm-msm
          4 linux-rtc
          4 linux-kselftest
          4 linux-clk
          4 linux-gpio
          4 linux-security-module
          4 linux-pci
          4 linux-ide
          4 linux-serial
          4 linux-kbuild
          4 kernel-janitors
          4 ltp
          4 yocto
          4 yocto-meta-ti
          4 poky
          4 cluster-devel
          4 lvm-devel
          4 ../../../../../igt-dev
          3 linux-block
          3 fstests
          3 kvmarm
          3 linux-f2fs-devel
          3 linux-trace-devel
          3 linux-wpan
          3 backports
          3 io-uring
          3 linux-man
          3 linux-i2c
          3 linux-tegra
          3 linux-can
          3 linux-raid
          3 fio
          3 iwd
          3 yocto-meta-freescale
          3 intel-wired-lan
          3 kexec
          3 linux-um
          3 linux-ia64
          3 reiserfs-devel
          2 cocci
          2 linux-efi
          2 linux-integrity
          2 linux-cifs
          2 linux-amlogic
          2 linux-erofs
          2 linux-btrfs
          2 kernel-hardening
          2 linux-parisc
          2 linux-ext4
          2 linux-rt-users
          2 linux-sgx
          2 linux-watchdog
          2 linux-m68k
          2 linux-csky
          2 linux-audit
          2 linux-spi
          2 linux-remoteproc
          2 linux-sparse
          2 lttng-dev
          2 linux-rockchip
          2 platform-driver-x86
          2 openbmc
          2 linux-sctp
          2 linux-cxl
          2 linux-sh
          2 soc
          2 ath10k
          2 nouveau
          2 sparclinux
          2 linux-sunxi
          2 linux-coco
          2 ath9k-devel
          2 ofono
          2 yocto-toaster
          2 yocto-meta-arm
          2 bitbake-devel
          2 yocto-meta-virtualization
          2 yocto-meta-arago
          2 outreachy
          2 openrisc
          2 loongarch
          2 intel-xe
          2 virtio-comment
          2 qemu-riscv
          2 grub-devel
          2 cgroups
          2 kvm-ppc
          2 linux-btrace
          2 linux-hexagon
          2 trinity
          2 lm-sensors
          2 perfbook
          2 virtio-fs
          2 ../../../../../fuego
          1 linux-fscrypt
          1 live-patching
          1 linux-edac
          1 linux-snps-arc
          1 linux-hwmon
          1 dmaengine
          1 linux-next
          1 linux-leds
          1 kernelnewbies
          1 linux-hyperv
          1 workflows
          1 rcu
          1 selinux-refpolicy
          1 linux-i3c
          1 linux-spdx
          1 ksummit-discuss
          1 wireguard
          1 linux-kernel-mentees
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 linux-dash
          1 linux-bcache
          1 mm-commits
          1 linux-pwm
          1 linux-fpga
          1 ceph-devel
          1 xdp-newbies
          1 phone-devel
          1 linux-hardening
          1 linux-toolchains
          1 dash
          1 keyrings
          1 target-devel
          1 ocfs2-devel
          1 rust-for-linux
          1 ath11k
          1 linux-phy
          1 linux-staging
          1 mptcp
          1 regressions
          1 ksummit
          1 b43-dev
          1 linux-nfc
          1 linux-bcachefs
          1 ntfs3
          1 llvm
          1 ell
          1 yocto-docs
          1 chrome-platform
          1 ntb
          1 damon
          1 asahi
          1 imx
          1 ath12k
          1 b4-sent
          1 linux-trace-kernel
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 batman
          1 virtio-dev
          1 v9fs
          1 ecryptfs
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 devicetree-spec
          1 devicetree-compiler
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-embedded
          1 linux-hams
          1 linux-laptop
          1 linux-sound
          1 linux-metag
          1 linux-x25
          1 linux-nilfs
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 acpica-devel
          1 smatch
          1 ../../../../../wireless-regdb
          1 ../../../../../powertop

git clone https://yhbt.net/lore/pub/scm/linux/hotplug/udev.git