[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] Fully-qualified source path in symlink()
From:       Vlad <vladc6 () yahoo ! com>
Date:       2008-02-18 19:55:47
Message-ID: 637155.59420.qm () web54404 ! mail ! yahoo ! com
[Download RAW message or body]

--- Miklos Szeredi <miklos@szeredi.hu> wrote:
> > When the current directory is the mountpoint of a FUSE filesystem,
> > attempting to create a symlink using the command "ln -s test.txt
> > testln.txt" yields a call to symlink() for source "test.txt" and
> > destination "/testln.txt". Shouldn't the source be a
> fully-qualified
> > local path?
> 
> No. The symlink() syscall does not interpret the source path at all,
> it just stores it verbatim into the symlink.  You can even create
> symlinks to nonexistent files or directories.

OK, thanks for the explanation.

Vlad


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic