helpdavfs2 - Support: sr #107943, Update directory not works

 
 

sr #107943: Update directory not works

Submitted by:  Dmitry <l15e>
Submitted on:  Thu 02 Feb 2012 01:42:33 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: Done
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Open/Closed: ClosedOperating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon 13 Feb 2012 06:31:48 AM UTC, comment #4:

Ok, understood.

Thank you!

Dmitry <l15e>
Sun 12 Feb 2012 09:11:10 AM UTC, comment #3:

HTTP is stateless. There is no session.
What may be a feature in your case would be a waste of bandwidth in most other cases.
If you want to ping your server just do some file system operation.

Cheers
Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Fri 03 Feb 2012 06:48:55 AM UTC, comment #2:

"Why should it when nobody wants to know. "

I wish server knows, the session is active or not.

I know it is not in DAV specification, but it feature need for me.

This way on my mind

Dmitry <l15e>
Thu 02 Feb 2012 06:41:43 PM UTC, comment #1:

man davfs2.conf:
dir_refresh
After mount.davfs has got information about files in a directory
it considers it valid for this time in seconds. Note: This does
not affect opening of files and reading a directory by an appli‐
cation.
Default: 60

file_refresh
When a file or directory is opened by an application,
mount.davfs will first check the server for a newer version. But
some applications do open calls on the same file in short
sequence. To avoid unecessary traffic mount.davfs will wait that
many seconds before it send a new request for the same informa‐
tion.
Default: 1

"I wish my mounted dav folder automatically refresh each time interval."
Why should it when nobody wants to know.
davfs2 will only fetch information from the server when the information is needed to satisfy a file system request.

Cheers
Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Thu 02 Feb 2012 01:42:33 PM UTC, original submission:

Hello!

As I understand, with dir_refresh davfs will updates each time as I set.

So, my scenario:
1 - mount dav storage (Apache mod_dav)
2 - Open mounted drive, see my dav folder content
3 - Open apache access log on server (tail -f)
4 - waiting for PROPFIND request...

Nothing.

davfs send PROPFIND requests at mount time, and no one while I waiting, why?

Bug? or I am wrong with understanding?

How can I configure this? I wish my mounted dav folder automatically refresh each time interval.

from config:
...
dir_refresh 14
file_refresh 1
...

Dmitry

Dmitry <l15e>

 

(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 l15e (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Apr 2014 07:45:27 PM UTCwbaumannOpen/ClosedOpen=>Closed
    Thu 02 Feb 2012 06:41:43 PM UTCwbaumannStatusNone=>Done
      Assigned toNone=>wbaumann

    Back to the top


    Powered by Savane 3.1-cleanup