On Tue, Mar 15, 2005 at 06:17:52PM -0800, Max wrote: > Hello! > > I've discovered that it is possible to create files of size much larger > than partition size. > I thought that this is JFS bug, so I've filed a bugreport against it at > http://bugzilla.kernel.org/show_bug.cgi?id=4345 > Detailed info and testcase program are provided there. > > Later I've found that at least XFS and EXT3 filesystems have the same > problem (though the resulting filesize is different for each fs). So the > problem may be not in fs code but in some other piece of kernel. > > Could kernel gurus please investigate the problem? > > P.S. I'm using debian-amd64 with kernel 2.6.11.3. So I didn't check if > 32-bit kernel has this bug.
This is not a bug but a fairly standard UNIX feature where you are creating sparse files. If you stat these files, you'll see the actual number of filesystem blocks allocated is much smaller than the apparent length of the file. For more info: google.com This one looks like a decent overview: http://www.lrdev.com/lr/unix/sparsefile.html Sonny - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
