[OE-core] [PATCH 0/3] Improve devtmpfs and cpio support

Otavio Salvador otavio at ossystems.com.br
Tue Dec 9 12:55:11 UTC 2014


Hello Nathan,

On Tue, Dec 9, 2014 at 3:50 AM, Nathan Rossi <nathan.rossi at xilinx.com> wrote:
> The following patches improve cpio support as well as improving the
> handling of devtmpfs and consolidating the setup of /dev mounts.
>
> Currently udev and mdev handle mounting /dev seperately in their own
> init scripts, as well as handling of /dev/pts and /dev/shm. Both however
> implement a similar method of mounting and creating directories.
> Additionally there is overlap between the udev/mdev init scripts and the
> devpts script. This patch attempts to clean up the mounting and setup
> so that it is done at a seperate level to the dev manager itself. So
> that machines/bsps can override the fstab and have custom /dev mount
> setups. This setup also allows for a system which does not use a dev
> manager and relies on devtmpfs for /dev nodes, which is useful for very
> constrained setups.
>
> Additionally this patch set resolves the need for the devpts init
> scripts, and on top of that prepares the /dev/pts interface early enough
> for other rc scripts like bootlogd so that there is no need for the
> CONFIG_LEGACY_PTYS to be enabled in the kernel.

Wonderful; this is a good improvement and I fully agree with the
changes here included.

Acked-by: Otavio Salvador <otavio at ossystems.com.br>

As a matter of completeness, please take a look on the
initramfs-framework which might be helpful for your cpio based images
as well.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-core mailing list