Module: xenomai-jki
Branch: for-forge
Commit: 561eb612f6e04866e0f29b3f42092fbcf42e88b1
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=561eb612f6e04866e0f29b3f42092fbcf42e88b1

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>

---

 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
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to