[OE-core] [PATCH] initscripts: Start devpts at 06 instead of 38

Mike Looijmans mike.looijmans at topic.nl
Wed Aug 31 13:47:32 UTC 2016


On 31-08-16 15:22, Mike Looijmans wrote:
> For example bootlogd needs devpts to be running, but bootlogd starts
> at 07. Starting bootlogd early makes perfect sense, so the best option
> here is to move devpts up to 06 to prevent this error message at boot:
> cannot allocate pseudo tty: No such file or directory
>
> Systems that have CONFIG_LEGACY_PTYS in the kernel will not see this
> message. Since it is called "LEGACY" for a reason, fixing this in
> userspace appears to be the better option here.
>
> The devpts script does not need anything except a mounted "/dev" which
> has been arranged in "S02sysfs.sh" already.

A second thought here: I was looking into the other scripts and I think it 
would make sense to just integrate the "devpts" script into "sysfs". The sysfs 
description already claims to "Mount initial set of virtual filesystems the 
kernel provides and that are required by everything." and devpts fits that 
description quite well.





More information about the Openembedded-core mailing list