Hi,
I have an almost identical Debian installation on two Thinkpads. One is
my mobile workhorse (trem), the other my almost dead laptop that I use
at home as quasi-desktop (tloc).
On tlocal, I do:
$ sshfs -C 192.168.1.100: ~/trem
and it correctly mounts my remote home dir at ~/trem
On both machines, I have two symlinks:
Documents -> /home/oc/storage/Documents/
Downloads -> /home/oc/storage/Downloads/
(I must keep these simlinks for compatibility with 1000s of documents
and scripts)
So, when I try to access ~/trem/Downloads or
~/trem/Documents
all I see is the contents of the local machine symlinks, because of
symlink loops.
Is there anything I can do about it without changing the filesystem layout?
Hi,
I have an almost identical Debian installation on two Thinkpads. One is
my mobile workhorse (trem), the other my almost dead laptop that I use
at home as quasi-desktop (tloc).
On tlocal, I do:
$ sshfs -C 192.168.1.100: ~/trem
and it correctly mounts my remote home dir at ~/trem
On both machines, I have two symlinks:
Documents -> /home/oc/storage/Documents/
Downloads -> /home/oc/storage/Downloads/
(I must keep these simlinks for compatibility with 1000s of documents
and scripts)
So, when I try to access ~/trem/Downloads or
~/trem/Documents
all I see is the contents of the local machine symlinks, because of
symlink loops.
Is there anything I can do about it without changing the filesystem layout?
On Tue, 22 Nov 2022 05:12:47, Ottavio Caruso <[email protected]> wrote:
Hi,
I have an almost identical Debian installation on two Thinkpads. One is
my mobile workhorse (trem), the other my almost dead laptop that I use
at home as quasi-desktop (tloc).
On tlocal, I do:
$ sshfs -C 192.168.1.100: ~/trem
and it correctly mounts my remote home dir at ~/trem
On both machines, I have two symlinks:
Documents -> /home/oc/storage/Documents/
Downloads -> /home/oc/storage/Downloads/
(I must keep these simlinks for compatibility with 1000s of documents
and scripts)
So, when I try to access ~/trem/Downloads or
~/trem/Documents
all I see is the contents of the local machine symlinks, because of
symlink loops.
Is there anything I can do about it without changing the filesystem layout?
I'll assume that these are soft links, and the links are in /home/oc/
If that's true, perhaps change the symlink to, for example:
Documents -> ./storage/Documents
Would that work?
(If the symlinks are in /home/oc/storage, you don't need a symlink.)
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 714 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 133:29:41 |
| Calls: | 12,087 |
| Files: | 14,997 |
| Messages: | 6,517,349 |