NetBSD devpubd as a FreeBSD devd equivalent


I was looking for a NetBSD equivilent to devd on FreeBSD to react to disk changes. At work we inject configuration into virtual machines using a separate disk, which can be live ejected and attached.

This mailing list post by Martin Husemann entry from 2012 suggests I should check out devpubd. From the man(8) page:

devpubd - device publish daemon for automatic device node creation … devpubd listens on drvctl(4) for new devices and creates their device nodes using MAKEDEV(8)

Unless anyone can think of something else I should try, I’ll check this out. Also, that desktop background took me back.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.