Re: symlinks follow 8 or 5?
From: Tim Connors (tconnors+linuxkernel1091156355_at_astro.swin.edu.au)
Date: 07/30/04
- Previous message: Benjamin Herrenschmidt: "[PATCH] ppc64: hash table races fixes"
- In reply to: FabF: "symlinks follow 8 or 5?"
- Next in thread: Arjan van de Ven: "Re: symlinks follow 8 or 5?"
- Reply: Arjan van de Ven: "Re: symlinks follow 8 or 5?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: FabF <fabian.frederick@skynet.be> Date: Fri, 30 Jul 2004 13:14:24 +1000
FabF <fabian.frederick@skynet.be> said on Thu, 29 Jul 2004 07:34:39 +0200:
> Hi,
> do_follow_link comments is "This limits recursive symlink follows to 8"
> ... but having (x=1->10) ln -s x+1 x and trying cat 1 just works for x <
> 7 which drops follow mode to 5.Is this irrelevant ?
This popped up a few years ago.
http://www.ussg.iu.edu/hypermail/linux/kernel/9903.1/0018.html
Obviously, nothing came about it. And I suspect the problem (running
out of stack space) is even worse these days with 4k stacks. Why is
this even done recursively?
Note that 5 symlinks is quite a burden. I got hit by it a few days ago
with my farm of symlinks between nfs RAID disks and my home directory
(~/raid points to /nfs/cluster, papers refers to ~/raid/papers,
Astro-ph refers to ~/papers/Astro-ph, and then I autofs shfs mounted
~/ from another host, which involve a couple of symlinks again (/host
to /mnt/nfshost and /mnt/nfshost to /var/autofs/misc/host and ~/host
to /host - the first two so that when the network goes down, all I
have to do is remove (by script) /mnt/nfshost, and then autofs wont
try to mount something it can't when something tries to access
~/host)).
-- TimC -- http://astronomy.swin.edu.au/staff/tconnors/ "We must use Tim as a tool, not as a couch." -- J F Kennedy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Benjamin Herrenschmidt: "[PATCH] ppc64: hash table races fixes"
- In reply to: FabF: "symlinks follow 8 or 5?"
- Next in thread: Arjan van de Ven: "Re: symlinks follow 8 or 5?"
- Reply: Arjan van de Ven: "Re: symlinks follow 8 or 5?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|