DragonFly hammer List (threaded) for 2010-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: pfs softlinks
Hey,
> Regular softlinks (e.g. from snapshots) resolve correctly, but for PFS
> softlinks, the b-tree search won't return anything. What are the
> parameters I need to set?
Ok I got it! The question is not "pfs or regular softlink", but whether
the softlink target name exceeds a certain length. For short names (<=
24 chars), the target name can be found in the `struct
hammer_inode_data', for longer names a data block has to be retrieved.
PFS links still won't resolve correctly, though. I'm getting this:
lrwxr-xr-x 0 root wheel 10 Jun 7 2009 master -> @@PFS00001
instead of:
lrwxr-xr-x 0 root wheel 10 Jun 7 2009 master ->
@@0xffffffffffffffff:00001
`hammer_vop_readlink' seems to do some dort of pfs-lookup. I'm working
on it :)
Daniel
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]