Messages in this thread |  | | Date | Thu, 27 Jun 96 13:06 +0200 | From | (Olaf Titz) |
| |
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 << ____
|  |