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: NonePriority: 5 - Normal
Severity: 2 - MinorStatus: Done
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Open/Closed: OpenOperating 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:

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Aug 2017 05:10:37 PM UTCwbaumannStatusNone=>Done
      Assigned toNone=>wbaumann

    Back to the top


    Powered by Savane 3.1-cleanup1