On Sun, 11 Aug 2013 17:48:11 +0200 Cedric Blancher wrote: > On 11 August 2013 16:33, Glenn Fowler <[email protected]> wrote: > > > > On Sat, 10 Aug 2013 16:53:11 -0400 Glenn Fowler wrote: > > > >> thanks for the background > > > >> we did something similar with version files in 3d fs > >> we encroached on the namespace by taking "..." > >> if you want the latest version of file foo name it > >> "foo" > >> if you want to see all versions of foo and other resources name it > >> "foo/..." > >> if you want to see version bar of file foo > >> "foo/.../bar" > > > >> we didn't use it much beyond proof of concept > >> so e.g. readdir() did not return "..." files > > > > I typed more than thought yesterday > > 3d does use "..." but not for versioning > > we only versioned regular files > > a versioned filed accessed as > > "foo" > > to see all the versions acces the file as a directory > > "foo/" > > pysically the latest version was a hard link to a file like > > "foo/1.2.3.4" > > had we versioned directories we would have had to encroach the namespace
> Why? The standard way to add version numbers to files is > "filename;version". See ISO9660. * because it did not require a special char like ';' * keeps versions and any other attributes neatly tucked in a subdir * determining the latest version is trivial: foo.c/latest _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
