mainDazuko - Support: sr #103486, What filesystem action causes...

 
 

sr #103486: What filesystem action causes ON_CLOSED_MODIFIED to be true?

Submitter:  None
Submitted:  Mon 18 Oct 2004 11:07:23 AM UTC
   
 
Assigned to:  ogman Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 12 Apr 2007 08:18:38 AM UTC, comment #2: 

Although still listed as an avaiable event, ON_CLOSE_MODIFIED events will never be generated. These events are simply too unreliable. A future Dazuko version will completely remove this event type.

John Ogness <ogman>
Group administrator
Mon 18 Oct 2004 12:56:40 PM UTC, comment #1: 

Hi,

You are interpretting ON_CLOSE_MODIFIED correctly. However, this event does not always work correctly under Linux 2.2/2.4. For example, redirects do not work correctly. However, if you edit the file using an editor, this should trigger the event under Linux 2.2/2.4. ON_CLOSE_MODIFIED does not work at all under Linux 2.6.

Under FreeBSD 4 and 5 this event works very well (even with redirects). This is because the FreeBSD version hooks more system calls that could result in file modification (such as dup() and dup2()). However, even the FreeBSD version still needs to do more for "perfect" support of this event. It is on my TaskList to port these improvements from FreeBSD over to the Linux version.

Note that this event is by default not supported. If you want this event, you must configure Dazuko with "--enable-event-close-modified". This event also introduces extra overhead in the kernel because it looks at individual write() events (this is why it is not supported by default). It is also off by default because the event is not yet "mature".

John Ogness <ogman>
Group administrator
Mon 18 Oct 2004 11:07:23 AM UTC, original submission:  

Pardon me, but does editing a file and then saving it out or appending to the end of a file '>>' qualify for ON_CLOSED_MODIFIED or am I taking this to literally.

Anonymous

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by ogman (Posted a comment)
  •  

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

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-12 ogman Open/ClosedOpen Closed
    2004-10-18 ogman Assigned toNone ogman

    Back to the top

    Powered by Savane 3.16-1eaf.
    Corresponding source code