linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* truncate head of file?
@ 2014-08-20  5:45 Howard Chu
  2014-08-20  6:26 ` Randy Dunlap
  2014-08-20  6:39 ` Lukáš Czerner
  0 siblings, 2 replies; 12+ messages in thread
From: Howard Chu @ 2014-08-20  5:45 UTC (permalink / raw)
  To: linux-fsdevel

Was thinking it would be very handy to have a truncate() variant that deletes 
pages from the head of a file. This could be leveraged to make logfiles easier 
to maintain, as an example. Anyone else interested, think this would be nice 
to have?

(Note - not the same as just punching holes in the beginning of the file - we 
want the beginning of the file to advance as well, past the deleted pages.)
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-08-29  5:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20  5:45 truncate head of file? Howard Chu
2014-08-20  6:26 ` Randy Dunlap
2014-08-20  6:39 ` Lukáš Czerner
2014-08-20  7:00   ` Howard Chu
2014-08-20  7:31     ` Lukáš Czerner
2014-08-20  8:33       ` Howard Chu
2014-08-20 11:44         ` Ashish Sangwan
2014-08-20 22:02           ` Howard Chu
2014-08-21 18:17     ` Andreas Dilger
2014-08-21 18:59       ` Howard Chu
2014-08-22 23:22     ` Randy Dunlap
2014-08-29  5:06       ` Howard Chu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).