Re: [Mono-dev] Sparse files

2007-03-25 Thread Robert Jordan
Alan McGovern wrote: > Hi, > > Not quite, a sparse file is different to a normal file in how allocations > happen. For example if i wanted to write 1 megabyte at an index of 100 > megabytes, a seek + write would result in a 101 megabyte file on the disk. The file system will fake a 101 MB file (s

Re: [Mono-dev] Sparse files

2007-03-25 Thread Robert Jordan
David Brown wrote: > Alan McGovern wrote: > >> Not quite, a sparse file is different to a normal file in how >> allocations happen. For example if i wanted to write 1 megabyte at >> an index of 100 megabytes, a seek + write would result in a 101 >> megabyte file on the disk. > >> With a sparse fi

Re: [Mono-dev] Sparse files

2007-03-25 Thread David Brown
Alan McGovern wrote: > Not quite, a sparse file is different to a normal file in how > allocations happen. For example if i wanted to write 1 megabyte at > an index of 100 megabytes, a seek + write would result in a 101 > megabyte file on the disk. > With a sparse file, there'd actually be 1 mega

Re: [Mono-dev] Sparse files

2007-03-25 Thread Alan McGovern
Hi, Not quite, a sparse file is different to a normal file in how allocations happen. For example if i wanted to write 1 megabyte at an index of 100 megabytes, a seek + write would result in a 101 megabyte file on the disk. With a sparse file, there'd actually be 1 megabyte physically taken up o

Re: [Mono-dev] Sparse files

2007-03-25 Thread Miguel de Icaza
Hello, > I'm just wondering if there's a cross platform way of creating sparse > files in c#. I was taking a look at the Mono.Unix namespace, but there > doesn't seem to be anything there that'd do it. Not that am aware of. I imagine that you are using the standard Unix operations to create a sp

[Mono-dev] Sparse files

2007-03-25 Thread Alan McGovern
Hi, I'm just wondering if there's a cross platform way of creating sparse files in c#. I was taking a look at the Mono.Unix namespace, but there doesn't seem to be anything there that'd do it. Thanks, Alan. ___ Mono-devel-list mailing list Mono-devel-l