Changes

Line 56: Line 56:  
       1ab88287-766a-4d98-a7c0-4233dc48647a
 
       1ab88287-766a-4d98-a7c0-4233dc48647a
 
             1ab88287-766a-4d98-a7c0-4233dc48647a
 
             1ab88287-766a-4d98-a7c0-4233dc48647a
                  metadata
+
            metadata
 
  2b
 
  2b
 
       2b90597c-0912-4e7f-8eeb-71a0f004490d
 
       2b90597c-0912-4e7f-8eeb-71a0f004490d
 
             2b90597c-0912-4e7f-8eeb-71a0f004490d -> checksums/464493d8d929436b6152e868867ed451
 
             2b90597c-0912-4e7f-8eeb-71a0f004490d -> checksums/464493d8d929436b6152e868867ed451
                  checksum ~> checksums/464493d8d929436b6152e868867ed451
+
            checksum ~> checksums/464493d8d929436b6152e868867ed451
                  extra_metadata
+
            extra_metadata
                        preview
+
                  preview
                  metadata
+
            metadata
 
  3c
 
  3c
 
       3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a
 
       3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a
 
             3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a -> checksums/464493d8d929436b6152e868867ed451
 
             3cdf5f0e-7595-4166-b1f9-cbedfcfe1c4a -> checksums/464493d8d929436b6152e868867ed451
                  checksum ~> checksums/464493d8d929436b6152e868867ed451
+
            checksum ~> checksums/464493d8d929436b6152e868867ed451
                  extra_metadata
+
            extra_metadata
                        preview
+
                  preview
                  metadata
+
            metadata
 
  4d
 
  4d
 
       4db11d29-2f07-4452-bd8e-22a6a483ac19
 
       4db11d29-2f07-4452-bd8e-22a6a483ac19
 
             4db11d29-2f07-4452-bd8e-22a6a483ac19
 
             4db11d29-2f07-4452-bd8e-22a6a483ac19
                  metadata
+
            metadata
                  extra_metadata
+
            extra_metadata
                        preview
+
                  preview
 
  5e
 
  5e
 
       5e9f2027-b41e-4015-a848-6b3972193eb8
 
       5e9f2027-b41e-4015-a848-6b3972193eb8
 
             5e9f2027-b41e-4015-a848-6b3972193eb8
 
             5e9f2027-b41e-4015-a848-6b3972193eb8
                  metadata
+
            metadata
                  extra_metadata
+
            extra_metadata
                        preview
+
                  preview
 
  checksums
 
  checksums
 
       464493d8d929436b6152e868867ed451
 
       464493d8d929436b6152e868867ed451
Line 102: Line 102:  
       value.baseB
 
       value.baseB
 
       value.DB
 
       value.DB
 +
 +
'''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-766a-4d98-a7c0-4233dc48647a/1ab88287-766a-4d98-a7c0-4233dc48647a''': "data" file related to an entry
 +
 +
'''1a/1ab88287-766a-4d98-a7c0-4233dc48647a/metadata''': file containing the metadata properties of an entry
 +
 +
'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/2b90597c-0912-4e7f-8eeb-71a0f004490d -> checksums/464493d8d929436b6152e868867ed451''': hard link to a file in '''checksums'''
 +
 +
'''2b/2b90597c-0912-4e7f-8eeb-71a0f004490d/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
    
== 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