Module: xenomai-jki Branch: for-forge Commit: d36ae28f9c0549c0af66e896711dde21ea769587 URL: http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=d36ae28f9c0549c0af66e896711dde21ea769587
Author: Jan Kiszka <jan.kis...@siemens.com> Date: Thu Nov 27 16:47:13 2014 +0100 regd: Switch to tmpfs as default Creating directories in a potentially persistent filesystem for the purpose of mounting volatile filesystems on top is not the optimal default. Use /run, a directory to disappear after reboot and today a typical mount point of tmpfs. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- doc/asciidoc/MIGRATION.adoc | 2 +- doc/asciidoc/README.APPLICATIONS.adoc | 6 +++--- doc/asciidoc/README.INSTALL.adoc | 4 ++-- lib/copperplate/internal.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/asciidoc/MIGRATION.adoc b/doc/asciidoc/MIGRATION.adoc index c837925..47ee49c 100644 --- a/doc/asciidoc/MIGRATION.adoc +++ b/doc/asciidoc/MIGRATION.adoc @@ -104,7 +104,7 @@ filesystem. The hierarchy of the Xenomai registry is organized as follows: ---------------------------------------------------------------------------- - /mount-point /* registry fs root, defaults to /mnt/xenomai */ + /mount-point /* registry fs root, defaults to /run/xenomai */ /session /* shared session name or "anon" */ /pid /* application (main) pid */ /skin /* API name: alchemy/vxworks/psos/... */ diff --git a/doc/asciidoc/README.APPLICATIONS.adoc b/doc/asciidoc/README.APPLICATIONS.adoc index 4474a04..070ee3b 100644 --- a/doc/asciidoc/README.APPLICATIONS.adoc +++ b/doc/asciidoc/README.APPLICATIONS.adoc @@ -72,13 +72,13 @@ link:installing-xenomai-3-x[configuration switch]). *--registry-root=<path>*:: Tells Xenomai to root the object registry at the given path, - instead of +/mnt/xenomai+ by default (see the + instead of +/run/xenomai+ by default (see the +--enable-registry+ switch from the configuration options). *--no-registry*:: This switch disables registry support at runtime. No real-time - objects will be exported to +/mnt/xenomai/<session>.<pid>+, + objects will be exported to +/run/xenomai/<session>.<pid>+, despite the registry code was compiled in. *--no-sanity*:: @@ -111,7 +111,7 @@ link:installing-xenomai-3-x[configuration switch]). [normal] This label is also used to form the registry mount point for - each process, e.g. +/mnt/xenomai/<session>.<pid>+. See + each process, e.g. +/run/xenomai/<session>.<pid>+. See +--enable-registry+ from the build options. [normal] diff --git a/doc/asciidoc/README.INSTALL.adoc b/doc/asciidoc/README.INSTALL.adoc index 658a49a..f2ee2f1 100644 --- a/doc/asciidoc/README.INSTALL.adoc +++ b/doc/asciidoc/README.INSTALL.adoc @@ -413,14 +413,14 @@ Generic configuration options (both cores) [normal] When this option is enabled, the system creates a file - hierachy under `/mnt/xenomai/<session>.<pid>` (by default), + hierachy under `/run/xenomai/<session>.<pid>` (by default), where you can access the internal state of the active real-time objects. The session label is obtained from the --session runtime switch. E.g. looking at the properties of a VxWorks task could be done as follows: -------------------------------------------------------------------- - $ cat /mnt/xenomai/anon.12656/vxworks/tasks/windTask + $ cat /run/xenomai/anon.12656/vxworks/tasks/windTask name = windTask errno = 0 status = ready diff --git a/lib/copperplate/internal.h b/lib/copperplate/internal.h index 380b522..bb16beb 100644 --- a/lib/copperplate/internal.h +++ b/lib/copperplate/internal.h @@ -30,7 +30,7 @@ #include <boilerplate/sched.h> #include <copperplate/heapobj.h> -#define DEFAULT_REGISTRY_ROOT "/mnt/xenomai" +#define DEFAULT_REGISTRY_ROOT "/run/xenomai" #define DEFAULT_REGISTRY_SESSION "anon" struct coppernode { _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git