With a tmpfs /dev init calls:
"MAKEDEV -MM init"
(see sbin/init/init.c starting from line 1704)
which calls
makedev all opty
of which opty does
opty)
# Create 16 device nodes, [pt]typ0 to [pt]typf
...
mkdev ttyp$j c 5 $jn 666
mkdev ptyp$j c 6 $jn 666
On the other hand, "postinstall fix" does:
ptyfsoldnodes fix:
Removed legacy device node /dev/ptyp0
...
Removed legacy device node /dev/ttypf
So my question is: if "postinstall fix" removes these devices on an
upgrade, why does init still create them?
This looks inconsistent. Which of the two should be changed?