lkml.org 
[lkml]   [1996]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Newsgroups: linux.dev.kernel
Path: not-for-mail
From: Olaf Titz <olaf@bigred.inka.de>
Subject: NFS symlink() failure on crossing mount points
Message-ID: <dtno6x.hzk@bigred.inka.de>
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.

olaf
--
___ Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de ____
__ o <URL:http://www.inka.de/~bigred/> <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    [from the cache]
©2003-2011 Jasper Spaans