SETUP-DEVD(8)
π setup-devd β configure the device manager
okay so bestie, this is a page from the System Manager's Manual (section 8, the system administration girlies) and it's all about setup-devd, which picks and sets up your device manager for /dev. let's get into it π«Ά
β¨ SYNOPSIS β¨
setup-devd [-h] [-C] [mdev | mdevd | udev]
πΈ DESCRIPTION πΈ
setup-devd selects and configures the device manager for /dev. and the way it does that? it disables any other configured device managers and enables the chosen one. one at a time, no polyamory, periodt π
so here's the lineup, bestie:
mdev(from busybox) is the default. the lowkey reliable one, always has been.mdevdis a standalone,mdev-compatible alternative. like mdev's cooler cousin who moved out and got her own place.udev(from eudev) is the full-featured one. main character energy fr fr π
when you pass a device manager as an argument, the script runs non-interactively β no questions, no small talk, it just goes. but with no argument? it prompts you for a choice and also asks whether to coldplug the hardware. so cute of it to ask π
β OPTIONS β
-Cβ Request a coldplug scan where supported. formdevd, this startsmdevd-initandhwdriversaftermdevd. ngl,mdevandudevsetup do not vary based on this flag β they're unbothered, they're living their truth. but here's the thing: in interactive mode the user is asked whether to coldplug, and this flag forces that answer. no asking, the decision is made π-hβ Display usage information and exit. the "never mind, just tell me how this works" option π
π¦ DEVICE MANAGERS π¦
mdev
Installs busybox-mdev-openrc. Enables the mdev and hwdrivers services in the sysinit runlevel and starts them. simple, iconic, done β¨
mdevd
Installs mdevd and mdevd-openrc, enables mdevd, mdevd-init and hwdrivers in the sysinit runlevel, starts the services and performs coldplug if requested. she does the whole routine π
udev
Installs eudev, udev-init-scripts, and udev-init-scripts-openrc. Enables udev, udev-trigger, udev-settle in the sysinit runlevel and udev-postmount in the default runlevel. Starts all services. ate and left no crumbs π₯
π EXIT STATUS π
0β Success. we love to see it π- non-zero β An error occurred. something went wrong bestie, check the vibes π
π SEE ALSO π
mdev(8), mdevd(8), udev(7), setup-alpine(8)
go read these too, iykyk π
π AUTHORS π
Natanael Copa <ncopa@alpinelinux.org> and others. shoutout π«Ά
lowkey important reminder: this page is from Alpine Linux, dated 2026-06-09. that's the source and the version and the date, all in one cute little sign-off. bye bestie, go configure your devices ππ§
π¦ where this page comes from
- alpine 3.24: alpine-conf-doc 3.22.0-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms