summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-10-23 17:27:55 +0300
committerLauri Leukkunen <lle@rahina.org>2008-10-23 19:18:01 +0300
commit0a44f98a97a22eb57ac34dea67623a2188038eda (patch)
tree23530e1eb51f5dab742443018eb14220c5b259d5 /docs
parentb779e037736239d3b8005506b898456c66c11a2a (diff)
Added path reversing logic; getcwd() etc now return backward-mapped results - i.e. getcwd(), realpath(), get_current_dir_name_gate() and getwd() now return the place where SB2 pretends to be, not the real path anymore - reverse mapping rules are created automatically when the session is created. However, there are still some situations where reverse mapping is disabled (see lua_scripts/create_reverse_rules.lua for details) - This also fixes a nasty bug with "mkdir -p" (which created directories to wrong locations in certain situations. "mkdir" witout "-p" was OK) - sb2-show: added new command "realcwd" - "devel" mapping mode: some paths were classified as virtual (virtual_path is a new attribute for rules: It disables reversing of that rule) - "simple" mapping mode: ~/.scratchbox2, .../share/scratchbox2 and /usr/bin/sb2-show were added to mapping rules - luaif.c: sb.decolonize_path() was disabled (It isn't anymore used from our Lua scripts, but I didn't
Diffstat (limited to 'docs')
-rw-r--r--docs/sb2-show.13
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/sb2-show.1 b/docs/sb2-show.1
index cddc5ce..c14b42f 100644
--- a/docs/sb2-show.1
+++ b/docs/sb2-show.1
@@ -45,6 +45,9 @@ Useful for debugging and tuning lua scripts of sb2.
path [path1] [path2] [pathN]
Show mappings of pathnames
.TP
+realcwd
+Show real current working directory
+.TP
exec file [argv0] [argv1] [argvN]
Show execve() modifications done by sb2
.TP