Re: [Relfs-devel] Proposed patch: allow symlink selection.
Status: Pre-Alpha
Brought to you by:
applejack
|
From: Vincenzo C. <ci...@di...> - 2006-07-12 23:24:39
|
Alle 10:27, mercoled=C3=AC 12 luglio 2006, Raskin Michael ha scritto: Nice job! You managed to understand relfs code without any previous=20 explanation, I wouldn't hope that much :) Thanks for your patch, just a=20 question: > +let read_link path =3D > + =C2=A0 =C2=A0 =C2=A0 =C2=A0try Unix.readlink (lpath path) with > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Unix_error (_,_,= _) =C2=A0-> match query path with Why don't you match Unix_error(ENOENT,_,_)?=20 Apart from this, I would really like to have an additional field in query=20 directories for link contents, something like "select '%%A' as name, '/A_DIR' as link_content"=20 which would return a directory containing a link named A and pointing=20 to "/A_DIR", however this and other similar things will need to be thought = of=20 after many others. I must say that I didn't do many things for relfs recent= ly=20 (except for the disambiguation scheme and the extended attributes stuff -=20 try "getfattr -d FILENAME" in relfs for example); I think that your patch=20 should motivate me to get back working on the project :) Vincenzo |