# devfs — populate /dev (devfsadm) and configure sockfs protocol modules
# (soconfig). Without soconfig, socket(AF_INET) returns EAFNOSUPPORT and
# every later ifconfig call — including lo0 plumb — fails.

[service]
name = "devfs"
description = "Device and socket protocol configuration"
type = "oneshot"

[exec]
start = "/etc/zyginit/services/devfs/start.sh"

[runlevel]
# Essential — /dev nodes (incl. /dev/dld for dlmgmtd) and sockfs
# protocol map are needed for any meaningful userland operation.
mode = "always"

[dependencies]
requires = ["root-fs"]

[restart]
on = "never"
