coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tail should dereference watched file


From: Pádraig Brady
Subject: Re: [PATCH] tail should dereference watched file
Date: Thu, 21 Nov 2013 17:01:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 09/16/2013 11:11 PM, Pádraig Brady wrote:
> On 09/15/2013 10:43 PM, Bernhard Voelker wrote:
>> On 09/15/2013 08:58 PM, Pádraig Brady wrote:
>>> True. Perhaps we should revert to polling for symlinks?
>>
>> That seems to be the safest way, yes.
> 
> Though we'd have to be careful to handle the case
> where a file was replaced with a symlink.

Hopefully the attached fixes up the common case of this,
and diagnose the edge case where a (missing) file appears
as a symlink, during inotify processing.

thanks,
Pádraig.

Attachment: tail-F-symlinks.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]