Re: init's MAKEDEV vs. postinstall fix (old tty nodes)

2020-03-27 Thread Martin Husemann
On Fri, Mar 27, 2020 at 08:36:39AM +0100, Thomas Klausner wrote: > So my question is: if "postinstall fix" removes these devices on an > upgrade, why does init still create them? This is mostly for install media where we want to avoid to create the ptyfs mount (and don't fear the security issues

Re: init's MAKEDEV vs. postinstall fix (old tty nodes)

2020-03-27 Thread Thomas Klausner
On Fri, Mar 27, 2020 at 10:28:17AM +, Robert Swindells wrote: > On 2020-03-27 07:36, Thomas Klausner wrote: > > > > With a tmpfs /dev init calls: > > > > "MAKEDEV -MM init" > > > > (see sbin/init/init.c starting from line 1704) > > > > which calls > > makedev all opty > > > >

Re: init's MAKEDEV vs. postinstall fix (old tty nodes)

2020-03-27 Thread Robert Swindells
On 2020-03-27 07:36, Thomas Klausner wrote: 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

init's MAKEDEV vs. postinstall fix (old tty nodes)

2020-03-27 Thread Thomas Klausner
Hi! 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