[OpenAFS-devel] AFS/DFS Mount points

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 11 Apr 2005 11:16:32 -0400


On Sunday, April 10, 2005 10:27:31 PM -0400 Dean Anderson <dean@av8.com> 
wrote:

> On Sun, 10 Apr 2005, Jeffrey Hutzelman wrote:
>
>> While it is true that AFS mount points are represented as symlinks whose
>> target begins with # or % (denoting the type of mount point), the thing
>> that makes them mount points and not symlinks is their mode.  It is
>> possible to create symlinks to targets starting with '#' or '%' by
>> making an RXAFS_Symlink() call, and clients will treat such links
>> correctly.  It is simply not possible to create such links using the
>> symlink() syscall on an OpenAFS client, because the cache manager
>> interprets such requests as requests to create mount points.
>
> [root@vista xxx]# ln -s \#asdfasf ddd
> [root@vista xxx]# ls
> ddd
> [root@vista xxx]# ls -l ddd
> ls: ddd: No such device
> [root@vista xxx]# ls -l
> ls: ddd: No such device
> total 0
> [root@vista xxx]# rm ddd
> rm: cannot remove `ddd': No such device

Which refutes none of what I said.