[Gluster-devel] question on crypt xlator

Emmanuel Dreyfus manu at netbsd.org
Wed Oct 15 02:22:37 UTC 2014


Edward Shishkin <edward at redhat.com> wrote:

> Thanks for the report,
> I am still not sure that symlinks are the culprit.

Um, you link on a symlink? That could be the answer: Linux links on the
symlink while BSD links on the target (both behavior are POSIX
compliant): Here is BSD hehavior:

# ls -l a b
-rw-r--r--  1 root  wheel  0 Oct 15 04:19 a
lrwxr-xr-x  1 root  wheel  1 Oct 15 04:20 b -> a
# ln b c
# ls -li a b c
579242 -rw-r--r--  2 root  wheel  0 Oct 15 04:19 a
579244 lrwxr-xr-x  1 root  wheel  1 Oct 15 04:20 b -> a
579242 -rw-r--r--  2 root  wheel  0 Oct 15 04:19 c


> Could you please try the attached version of crypt.t and report results?

It passes.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list