cvs commit: src/sys/fs/msdosfs msdosfs_denode.c
dmitry at atlantis.dp.ua
Thu Sep 8 01:37:02 PDT 2005
On Thu, 8 Sep 2005, Mike Silbersack wrote:
>> entries begin at byte offsets from the start of the media with identical
>> low-order 32 bits; e.g., 64-bit offsets
>> 0x0000000000001000 and
> Hm, maybe it wouldn't be too difficult to create, then. There is an option
> to have compressed filesystems, so if one wrote a huge filesystem with files
> that all contained zeros, perhaps it would compress well enough.
BTW, how can one work with compressed filesystem?
> If you just started creating a lot of equally sized files containing zero as
> their content, maybe it could be done via a script. Yeah, you could just
> call truncate in some sort of shell script loop until you have enough files,
> then go back and try reading file "000001", and that should cause the panic,
Our task is slightly different: not our files should start at magic offset,
but their _directory entries_. I think this task is achievable by creating
new FAT32 filesystem, then (in strict order) a directory, a large (approx.
4Gb) file in it, a second directory, a file in it, then lookup first
file. In order to get a panic whe just have to tune size of the large file.
If I have enough time I'll try to prepare such a regression test.
Atlantis ISP, System Administrator
e-mail: dmitry at atlantis.dp.ua
More information about the cvs-src