1. 23 Oct, 2018 1 commit
    • Sascha Hauer's avatar
      ubifs: Format changes for authentication support · 5125cfdf
      Sascha Hauer authored
      This patch adds the changes to the on disk format needed for
      authentication support. We'll add:
      * a HMAC covering super block node
      * a HMAC covering the master node
      * a hash over the root index node to the master node
      * a hash over the LPT to the master node
      * a flag to the filesystem flag indicating the filesystem is
      * an authentication node necessary to authenticate the nodes written
        to the journal heads while they are written.
      * a HMAC of a well known message to the super block node to be able
        to check if the correct key is provided
      And finally, not visible in this patch, nevertheless explained here:
      * hashes over the referenced child nodes in each branch of a index node
      Signed-off-by: 's avatarSascha Hauer <s.hauer@pengutronix.de>
      Signed-off-by: 's avatarRichard Weinberger <richard@nod.at>
  2. 12 Dec, 2016 7 commits
  3. 16 May, 2011 1 commit
    • Matthew L. Creech's avatar
      UBIFS: add a superblock flag for free space fix-up · 9f58d350
      Matthew L. Creech authored
      The 'space_fixup' flag can be set in the superblock of a new filesystem by
      mkfs.ubifs to indicate that any eraseblocks with free space remaining should be
      fixed-up the first time it's mounted (after which the flag is un-set). This
      means that the UBIFS image has been flashed by a "dumb" flasher and the free
      space has been actually programmed (writing all 0xFFs), so this free space
      cannot be used. UBIFS fixes the free space up by re-writing the contents of all
      LEBs with free space using the atomic LEB change UBI operation.
      Artem: improved commit message, add some more commentaries to the code.
      Signed-off-by: 's avatarMatthew L. Creech <mlcreech@gmail.com>
      Signed-off-by: 's avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
  4. 13 May, 2011 1 commit
  5. 15 Sep, 2009 1 commit
  6. 26 Mar, 2009 1 commit
  7. 03 Dec, 2008 1 commit
  8. 30 Sep, 2008 1 commit
  9. 05 Sep, 2008 1 commit
  10. 13 Aug, 2008 1 commit
    • Artem Bityutskiy's avatar
      UBIFS: reserve more space for index · b364b41a
      Artem Bityutskiy authored
      At the moment UBIFS reserves twice old index size space for the
      index. But this is not enough in some cases, because if the indexing
      node are very fragmented and there are many small gaps, while the
      dirty index has big znodes - in-the-gaps method would fail.
      Thus, reserve trise as more, in which case we are guaranteed that
      we can commit in any case.
      Signed-off-by: 's avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
  11. 15 Jul, 2008 1 commit