lkml.org 
[lkml]   [2003]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is there a "make hole" (truncate in middle) syscall?
On Fri, Dec 05, 2003 at 11:22:01AM +0000, Anton Altaparmakov wrote:
> On Thu, 4 Dec 2003, Andy Isaacson wrote:
> > On Thu, Dec 04, 2003 at 02:32:23PM -0600, Rob Landley wrote:
> > I'm curious -- does NTFS implement sparse files? Does the Win32 API
> > provide any way to manipulate them? Does the NT kernel have any sparse
> > file handling?
>
> Yes it does. The new NTFS Linux driver has full support for sparse files
> as does Windows of course.
>
> Windows does provide a function which is just "make hole". It takes
> starting offset and length (or was it ending offset instead of length,
> can't remember) and makes this sparse (obviously aligning to cluster
> boundaries, etc).

Have fun getting it to play nice with mmap()...
-
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.053 / U:18.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site