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 <ottavio2006-usenet2012@yahoo.com> 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: | 406 |
Nodes: | 16 (2 / 14) |
Uptime: | 109:54:18 |
Calls: | 8,528 |
Calls today: | 7 |
Files: | 13,210 |
Messages: | 5,920,463 |