[OT] Unix Basics Frage - directory links

From: Georg Graf <georg-dfbsd(at)graf.priv.at>
Date: Wed, 24 May 2000 12:17:00 +0200

hi,
Bin gerade auf eine Wissenslücke gestoßen:

Was ich gemacht hab:
# mv /tmp/* /tmp/.* /compat/linux/tmp (oder so, es gab wickel mit
        dem X11-Socket...)
# rm -rf /tmp
# ln -s /compat/linux/tmp /tmp

(Ich habe einen Linux-Netscape, weil ich mir ganz gern auch Flash
anschaue. Die vielen .pdf Files im Internet schau ich mir ganz gern
mit gv (welcher aus dem Linux-Netscape gestartet wird) an)
der Linux-Netscape schreibt seine temporären files in /usr/compat/linux/tmp
(das ist für ihn /tmp) und der gv kennt sich nur dann aus, wenn obiges
gemacht ist.

set [-|+]o physical ist ein bash feature:
[root(at)georg ports]# set -o physical
[root(at)georg ports]# cd /tmp
[root(at)georg tmp]# cd ..
[root(at)georg linux]# cd ..
[root(at)georg compat]# cd ..
[root(at)georg /usr]# cd ..
[root(at)georg /]# set +o physical
[root(at)georg /]# cd /tmp
[root(at)georg /tmp]# cd ..
[root(at)georg /]#

Frage: Kann ich dadurch manche Programme verwirren, oder sehen ganz
normale binaries die Geschichte wie die bash mit "set +o physical"?
In letzterem Falle wäre ich beruhigt, in ersterem ... naja ... wart
ich mal was passiert :-)

jaja ich weiß, ist nicht FreeBSD-spezifisch, aber hoffentlich für
die eine oder den anderen nicht uninteressant.

-- 
Georg
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 24 May 2000 - 12:17:09 CEST

search this site