[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Frage zu symbolischen Links



Hallo Peter,

ist kein Problem. Das "/woanders/target" einfach als Laufwerk betrachten
und an/über "/home/myhome/hierhin" mounten.

Schau mal mit "man mount"...folgender absatz wäre da interessant

---schnipp----

Since Linux 2.4.0 it is possible to remount part of the file  hierarchy
somewhere else. The call is
              mount --bind olddir newdir
After this call the same contents is accessible in two places.  One can
also remount a single file (on a single file).

This call attaches only (part of) a  single  filesystem,  not  possible
submounts.  The entire file hierarchy including submounts is attached a
second place using
              mount --rbind olddir newdir

Note that the filesystem mount options will remain the same as those on
the  original  mount  point,  and  cannot  be changed by passing the -o
option along with --bind/--rbind.

Since Linux 2.5.1 it is possible to atomically move a mounted  tree  to
another place. The call is
              mount --move olddir newdir

-----schnapp----

Peter Schütt schrieb:
> Hallo,
> ich möchte folgendes machen, was aber nicht wie:
> 
> Ich habe ein Verzeichnis /woanders/target
> und ich möchte das der _Inhalt_ von target unter
> /home/myhome/hierhin
> erscheint.
> 
> ln -s /woanders/target /home/myhome/hierhin
> erzeugt 
> /home/myhome/hierhin/target
> was ich nicht will.
> 
> Geht das irgendwie, was ich möchte?
> 
> Danke für alle Hinweise und Tips.
> Ciao
>   Peter Schütt
> 



Reply to: