Re: symlinks follow 8 or 5?

From: Tim Connors (tconnors+linuxkernel1091156355_at_astro.swin.edu.au)
Date: 07/30/04

  • Next message: hv: "(no subject)"
    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/
    

  • Next message: hv: "(no subject)"

    Relevant Pages

    • Re: [PATCH][2.6.7-rc3-mm1] perfctr cpumask cleanup
      ... following patch (untested, unbuilt, ...). ... This saves copies and stack space for one cpumask (that's ... 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/ ...
      (Linux-Kernel)
    • Re: 2.6.6-rc3-mm2 (4KSTACK)
      ... > stack which is being replaced with an allocate to save space. ... > the saved stack space with the potential stack space used to ... I suspect making memory reclamation less multithreaded (doing ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [ patch 2/7] drivers/serial/jsm: new serial device driver
      ... Wen Xiong wrote: ... Uses WAY too much stack space. ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)