Module: xenomai-jki
Branch: for-forge
Commit: 561eb612f6e04866e0f29b3f42092fbcf42e88b1

Author: Jan Kiszka <>
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 <>


 lib/copperplate/regd/regd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/copperplate/regd/regd.c b/lib/copperplate/regd/regd.c
index d5249f2..ecc41e1 100644
--- a/lib/copperplate/regd/regd.c
+++ b/lib/copperplate/regd/regd.c
@@ -39,7 +39,7 @@
 #include "../internal.h"
 #include "sysregfs.h"
-#define DEFAULT_ROOT "/mnt/xenomai/anon"
+#define DEFAULT_ROOT "/run/xenomai/anon"
 /* Allow use of oldish umount2(). */
 #ifndef MNT_DETACH

Xenomai-git mailing list

Reply via email to