public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Mike Looijmans <mike.looijmans@topic.nl>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] initscripts: Start devpts at 06 instead of 38
Date: Wed, 31 Aug 2016 15:47:32 +0200	[thread overview]
Message-ID: <57C6DFF4.20503@topic.nl> (raw)
In-Reply-To: <1472649771-10124-1-git-send-email-mike.looijmans@topic.nl>

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.




      reply	other threads:[~2016-08-31 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-31 13:22 [PATCH] initscripts: Start devpts at 06 instead of 38 Mike Looijmans
2016-08-31 13:47 ` Mike Looijmans [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57C6DFF4.20503@topic.nl \
    --to=mike.looijmans@topic.nl \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox