[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] initscripts: Start devpts at 06 instead of 38
From:       Mike Looijmans <mike.looijmans () topic ! nl>
Date:       2016-08-31 13:47:32
Message-ID: 57C6DFF4.20503 () topic ! nl
[Download RAW message or body]

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.


-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic