[PC-BSD Commits] [pcbsd/pcbsd] 1cafdc: Welcome the new user-land implementation of the pb...

GitHub noreply at github.com
Mon Mar 31 12:00:57 PDT 2014

  Branch: refs/heads/master
  Home:   https://github.com/pcbsd/pcbsd
  Commit: 1cafdcc30292dad35f5a20250c9de645df43938b
  Author: Kris Moore <kris at pcbsd.org>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M .gitignore
    M src-sh/pbi-manager/install.sh
    A src-sh/pbi-manager/pbi_preload/Makefile
    A src-sh/pbi-manager/pbi_preload/dlfcn.h
    A src-sh/pbi-manager/pbi_preload/pbi_preload.c
    R src-sh/pbi-manager/pbifs/Makefile
    R src-sh/pbi-manager/pbifs/README
    R src-sh/pbi-manager/pbifs/main.c
    M src-sh/pbi-manager/pbime/Makefile
    M src-sh/pbi-manager/pbime/ldconfig
    A src-sh/pbi-manager/pbime/pbiinit
    A src-sh/pbi-manager/pbime/pbild.c
    M src-sh/pbi-manager/pbime/pbime.c
    R src-sh/pbi-manager/pbime/pbimount
    A src-sh/pbi-manager/pbime/pbirun.c
    M src-sh/pbi-manager/pbime/pbisyscmd
    R src-sh/pbi-manager/pbime/pbisyslisten
    M src-sh/port-files/pkg-install
    M src-sh/port-files/pkg-plist

  Log Message:
  Welcome the new user-land implementation of the pbi runtime
functionality. There is also a related patch to rtld.c which we will
be putting into our freebsd fork.

This patch replaces all the previous nullfs/fusefs VFS implementations.

Instead for PBI runtime, we will use PBI_PRELOAD to dynamically load a
wrapper library, and do the /usr/local -> /usr/pbi path mapping all in
userspace. This bypasses all the kernel VFS calls, which greatly speeds up
the execution time of PBIs, while improving reliability. (No more kernel
panics when VFS ops go haywire).

Required rtld.c patch:


More information about the Commits mailing list