[lkml]   [2003]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectIs there a "make hole" (truncate in middle) syscall?
You can make a file with a hole by seeking past it and never writing to that 
bit, but is there any way to punch a hole in a file after the fact? (I mean
other with lseek and write. Having a sparse file as the result....)

What are the downsides of holes? (How big do they have to be to actually save
space, is there a performance penalty to having a file with 1000 4k holes in
it, etc...)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:59    [W:0.206 / U:6.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site