Set File Size

Hi all,

We have minifilter driver to perform IO Operation on Virtual Drive FAT32 volume , We want to read all sectors of any file, either compete sectors filled by data or last sector has some data.

Example : Assume that Virtual drive FAT volume having 512 bytes per sector, file size is 524000 bytes, but it is filled in 1024 sectors (512 *1024) 524288 bytes,

I want to set file size upto 524288 bytes, because we want to send 524288 bytes of file to User Mode Application.

Thanks,
Musharraf

I don’t see a question here…Why are you trying to do this?

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

wrote in message news:xxxxx@ntfsd…

Hi all,

We have minifilter driver to perform IO Operation on Virtual Drive FAT32
volume , We want to read all sectors of any file, either compete sectors
filled by data or last sector has some data.

Example : Assume that Virtual drive FAT volume having 512 bytes per sector,
file size is 524000 bytes, but it is filled in 1024 sectors (512 *1024)
524288 bytes,

I want to set file size upto 524288 bytes, because we want to send 524288
bytes of file to User Mode Application.

Thanks,
Musharraf

Hi,

Let me know Is there any possibility to read data all sectors of any file ?

Either last sector not completed filled or not.

Thanks

That still doesn’t answer my question…

-scott


Scott Noone
Consulting Associate and Chief System Problem Analyst
OSR Open Systems Resources, Inc.
http://www.osronline.com

wrote in message news:xxxxx@ntfsd…

Hi,

Let me know Is there any possibility to read data all sectors of any file ?

Either last sector not completed filled or not.

Thanks