helpdavfs2 - Support: sr #109373, Supporting static inodes?


sr #109373: Supporting static inodes?

Submitted by:  Massimo <massimo_b>
Submitted on:  Mon 28 Aug 2017 06:57:57 AM UTC  
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Done
Privacy:  Public Assigned to:  Werner Baumann <wbaumann>
Open/Closed:  Closed Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 28 Aug 2017 05:10:37 PM UTC, comment #1: 

Some background:
davfs2 stores a structure for every file or directory in the working memory. This structure is created when davfs2 learns about that file for the first time and it stays in working memory as long as the file system is mounted and the file is not deleted. The inode number is just the address of that structure without trailing zeros (zeros in binary).

So to answer your question:
- inode numbers in davfs2 are stable as long as the file system is mounted. You can use them like inode numbers of other file systems.
- when the file system is unmounted and mounted again then every file and directory gets a random new inode number. You can't reuse inode numbers between mounts.
- if a file is deleted then that inode number may be reused for another file without changing the generation number.
- you must not use option minimize_mem because this would cause node structures to be deleted and later newly created with a different inode number.

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Mon 28 Aug 2017 06:57:57 AM UTC, original submission:  


using unison on davfs2 I'm not sure if the option "ignoreinodenumbers" is recommended like it is for FAT filesystems?

Does davfs2 export static inode numbers useful to detect meta data changes?

Massimo <massimo_b>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wbaumann (Posted a comment)
  • -email is unavailable- added by massimo_b (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-26 wbaumann Open/ClosedOpen => Closed
    2017-08-28 wbaumann StatusNone => Done
        Assigned toNone => wbaumann

    Back to the top

    Powered by Savane 3.5