[BusyBox 0000265]: tail -f should keep following files even if they were truncated

bugs at busybox.net bugs at busybox.net
Tue Feb 19 00:39:04 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=265 
====================================================================== 
Reported By:                owlman
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   265
Category:                   New Features
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     closed
Resolution:                 reopened
Fixed in Version:           
====================================================================== 
Date Submitted:             05-20-2005 01:45 PDT
Last Modified:              02-18-2008 16:39 PST
====================================================================== 
Summary:                    tail -f should keep following files even if they
were truncated
Description: 
The current implementation of tail doesn't keep watching truncated logs: it
simply looks if anything was been added beyond the current reading
position, it does not adjust for file truncation. This patch is inspired
from Chip Rosenthal's xtail which i downloaded from
http://www.unicom.com/sw/xtail/
====================================================================== 

---------------------------------------------------------------------- 
 pgf - 07-20-05 12:46  
---------------------------------------------------------------------- 
Committed revision 10884. 

---------------------------------------------------------------------- 
 bernhardf - 06-21-06 10:19  
---------------------------------------------------------------------- 
this seems to have broken tail -c /dev/a_block_device

http://busybox.net/lists/busybox/2006-June/022668.html 

---------------------------------------------------------------------- 
 vda - 02-18-08 16:39  
---------------------------------------------------------------------- 
tail -c NNN /dev/a_block_device is fixed in rev 21058.
(wasn't broken really, just was taking ages to read entire device...) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-20-05 01:45  owlman         New Issue                                    
05-20-05 01:45  owlman         File Added: tail.c.diff                      
05-20-05 01:53  owlman         Issue Monitored: owlman                      
07-20-05 12:46  pgf            Status                   assigned => resolved
07-20-05 12:46  pgf            Resolution               open => fixed       
07-20-05 12:46  pgf            Note Added: 0000327                          
07-31-05 15:34  vapier         Status                   resolved => closed  
06-21-06 10:19  bernhardf      Status                   closed => feedback  
06-21-06 10:19  bernhardf      Resolution               fixed => reopened   
06-21-06 10:19  bernhardf      Note Added: 0001441                          
02-18-08 16:39  vda            Status                   feedback => closed  
02-18-08 16:39  vda            Note Added: 0005104                          
======================================================================




More information about the busybox-cvs mailing list