Jump-start your project by learning from devs who
write Windows drivers and file systems every day.
Take an OSR seminar!

Upcoming File Systems Related Seminars:
File Systems, Santa Clara, CA 26 October 2010


Go Back   OSR Online Lists > ntfsd
Welcome, Guest
You must login to post to this list
  Message 1 of 4  
16 Mar 00 08:36
ntfsd member 1494
xxxxxx@lists.osr.com
Join Date:
Posts To This List: 6
Strange CopyFile API

Hi. Developers. CopyFile API is strange. CopyFile API correctly read/write tow big files. But too small file(< 256Byte) is not read from source file and write distination file. When does API read? What is read's IRP?
  Message 2 of 4  
17 Mar 00 00:55
Maxim S. Shatskih
xxxxxx@storagecraft.com
Join Date: 23 Feb 2000
Posts To This List: 3623
Re: Strange CopyFile API

> CopyFile API is strange. CopyFile API correctly read/write tow CopyFile maps the source file to memory and then writes data from this memory to the destination file. Max
  Message 3 of 4  
17 Mar 00 02:39
ntfsd member 1778
xxxxxx@ms.chttl.com.tw
Join Date:
Posts To This List: 1
Re: Strange CopyFile API

That is because the data of small file is residented in its File Record directly. and the system doesn't allocate another disk space for it. ----- Original Message ----- From: "$BEOJULP><(B" <xxxxx@hh.iij4u.or.jp> To: "File Systems Developers" <xxxxx@lists.osr.com> Sent: Thursday, March 16, 2000 9:30 PM Subject: [ntfsd] Strange CopyFile API > Hi. Developers. > > CopyFile API is strange. CopyFile API correctly read/write tow big > files. But too small file(< 256Byte) is not read from source file and > write distination file. > When does API read? What is read's IRP? > > <...excess quoted lines suppressed...>
  Message 4 of 4  
17 Mar 00 04:12
ntfsd member 1494
xxxxxx@lists.osr.com
Join Date:
Posts To This List: 6
Re: Strange CopyFile API

Thank for your advice. How do I modify read data? weafon wrote: > That is because the data of small file is residented in its File Record > directly. > and the system doesn't allocate another disk space for it. >
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntfsd list to be able to post.

All times are GMT -5. The time now is 13:48.


Copyright ©2005, OSR Open Systems Resourcs, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license