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

 
 

sr #109373: Supporting static inodes?

Submitter:  Massimo <massimo_b>
Submitted:  Mon 28 Aug 2017 06:57:57 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Done
Privacy:  Public Assigned to:  _71007
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

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.


- <_71007>
Mon 28 Aug 2017 06:57:57 AM UTC, original submission:  

Hi,

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:
   
   
Comment:
   

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 _71007 (Posted a comment)
  • -email is unavailable- added by massimo_b (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

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

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code