Could combine misc_link_i386.c handlers
Upstreaming for OS-6688:
Several handlers in
usr/src/cmd/devfsadm/i386/misc_link_i386.c are essentially the same: they name their@/dev/@ entry after the minor name. In preparation for some new bhyve entries, let's use common code for these.
Testing done here is essentially booting and testing with ls that the symlinks are correct, and rm then devfsadm correctly re-creates them, under COAL and a H/W CN.
Updated by Electric Monk about 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit 629c07fb6e3f1db7dc0b6e1647ee779f6aaef329 Author: John Levon <email@example.com> Date: 2020-04-20T18:03:21.000Z 12526 Could combine misc_link_i386.c handlers Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Patrick Mooney <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>