[lkml]   [1996]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Path: not-for-mail
From: Olaf Titz <>
Subject: NFS symlink() failure on crossing mount points
Message-ID: <>
Date: 27 Jun 1996 13:06:30 +0200
Organization: private Linux site, southern Germany
Lines: 24

I faced this problem when compiling a kernel. /usr/src/linux is
mounted on my machine "bigred" from "blackforest:/usr/src/linux".
(Actually both dirs are renamed to "linux-2.0.0" and symlinked to
"linux" but changing this does not alleviate the problem.)

"make modules" fails on the makefile rule (simplified):
cd /usr/src/linux/modules; ln -s ../drivers/block/floppy.o .
The "ln" says "no such file or directory", but the links are there.
If I run the make on the "blackforest" machine, all is okay.

Further digging with strace reveals that the call
symlink("../drivers/block/floppy.o", ".") returns ENOENT _after it has
in fact made the link_. I suspect the reason is that the ".." is the
mount point.

Kernel 2.0.0, nfsd 2.2beta5 (from Debian). Already occurred with the
same nfsd under kernel 1.3.59.

___ or @{stud,informatik} ____
__ o <URL:> <IRC:praetorius>
__/<_ >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

 \ /
  Last update: 2005-03-22 13:37    [W:0.022 / U:3.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site