lkml.org 
[lkml]   [2003]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Is there a "make hole" (truncate in middle) syscall?
Date
From
> I was thinking of making a toy that would run periodically against a
> seldom-changed filesystem, find runs of zeroes of a certain minimum
> size, and turn 'em into holes. The fragmentation might not be worth
> it, though...

"cp" does that already. Hunt for sparse files, copy them and move the
new file to the old location.
There used to be an installer (Slackware, I think) back in very old
days which did this to every binary after untarring...

Olaf

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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