Changes

Line 104: Line 104:  
'''1a''': directory holding entries, it's only function is to avoid having too many directories in a single directory, as this is considered specially harmful on jffs2.
 
'''1a''': directory holding entries, it's only function is to avoid having too many directories in a single directory, as this is considered specially harmful on jffs2.
   −
'''1a/1ab88287-766a-4d98-a7c0-4233dc48647a''': directory holding the files related to one entry
+
'''1a/1ab88287-...-4233dc48647a''': directory holding the files related to one entry
   −
'''1a/1ab88287-766a-4d98-a7c0-4233dc48647a/1ab88287-766a-4d98-a7c0-4233dc48647a''': "data" file related to an entry
+
'''1a/1ab88287-...-4233dc48647a/1ab88287-...-4233dc48647a''': "data" file related to an entry
   −
'''1a/1ab88287-766a-4d98-a7c0-4233dc48647a/metadata''': file containing the metadata properties of an entry
+
'''1a/1ab88287-...-4233dc48647a/metadata''': file containing the metadata properties of an entry
   −
'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/extra_metadata''': directory containing those metadata properties not contained in '''metadata''' for being either binary data or too big
+
'''2b/2b90597c-...-71a0f004490d/extra_metadata''': directory containing those metadata properties not contained in '''metadata''' for being either binary data or too big
   −
'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/extra_metadata/preview''': file containing the value of the '''preview''' property
+
'''2b/2b90597c-...-71a0f004490d/extra_metadata/preview''': file containing the value of the '''preview''' property
   −
'''3c/3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a/3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a''': hard link to the same file in the entry '''2b90597c-0912-4e7f-8eeb-71a0f004490d'''
+
'''3c/3cdf5f0e-...-cbedfcfe1c4a/3cdf5f0e-...-cbedfcfe1c4a''': hard link to the same file in the entry '''2b90597c-...-71a0f004490d'''
   −
'''3c/3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a/checksum ~> checksums/464493d8d929436b6152e868867ed451''': symbolic link to the file in '''checksums'''. Used to get the checksum of the entry without having to recalculate it nor read it from the metadata file
+
'''3c/3cdf5f0e-...-cbedfcfe1c4a/checksum ~> checksums/464493d8d929436b6152e868867ed451''': symbolic link to the file in '''checksums'''. Used to get the checksum of the entry without having to recalculate it nor read it from the metadata file
    
'''checksums''': directory containing a directory per each file contained in the DS, named by its md5 checksum
 
'''checksums''': directory containing a directory per each file contained in the DS, named by its md5 checksum
   −
'''checksums/464493d8d929436b6152e868867ed451''': directory containing links to all the
+
'''checksums/464493d8d929436b6152e868867ed451''': directory containing links to all the entries that contain a file with this checksum
 +
 
 +
'''checksums/464493d8d929436b6152e868867ed451/2b90597c-...-71a0f004490d''' symbolic link to a file in an entry with this checksum.
 +
 
 +
'''index''': directory containing all files that belong to the search database. Can be deleted and recreated from the rest of the DS if needed without incurring in data loss.
    
== Source code ==
 
== Source code ==
    
http://dev.laptop.org/git?p=users/tomeu/datastore;a=summary
 
http://dev.laptop.org/git?p=users/tomeu/datastore;a=summary
647

edits