Notice that I did say “similar”. In the case I was considering, the on
disk structure was modified by a different NTFS implementation
(basically, it was an early form of file system sharing, where we
allowed only one copy of NTFS to modify the on disk structure).
The Linux community has an NTFS implementation and that is likely to be
the closest you will come to finding the on disk format information,
short of licensing the information directly from Microsoft.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the Next OSR File Systems Class October
18, 2004 in Silicon Valley!
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
Sent: Tuesday, August 31, 2004 6:35 PM
To: ntfsd redirect
Subject: Re:[ntfsd] question on IFS
Thanks Tony, James and Maxim for enlightening on this subject.
I am so glad to here that Tony you have tried doing something similar in
the
past. To directly modify the on-disk data structure, how to determine
what
data fields of on the disk data structure to modify and the physical
location on the disk.
Are these data structures documented? Please point me to the source
where I
learn about it.
Thanks,
Shakeel.
“Tony Mason” wrote in message news:xxxxx@ntfsd…
That’s their point - Windows will not know to update its internal
structure.
You could probably achieve this IF you dismounted the volume and changed
the data layout “underneath” the Windows file system (we once did
something similar under NTFS with a filter that allowed us to dismount
whenever we wanted and then reassociated afterwards. At the time, NTFS
was not quite up to the task of being remounted every six seconds,
however, and eventually would leak all of non-paged pool.) But to do
this you must understand the on disk format and modify it directly
within your software. Certainly not documented, and quite likely to
break each time the on disk format changes.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the Next OSR File Systems Class October
18, 2004 in Silicon Valley!
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
Sent: Tuesday, August 31, 2004 4:03 PM
To: ntfsd redirect
Subject: Re:[ntfsd] question on IFS
Thanks James and Maxim for your help,
I am novice in this subject, please help me understand. suppose if I
write
file system filter driver that intercept the file copy operation and
calls
FSCTL_GET_RETRIEVAL_POINTERS, FSCTL_GET_VOLUME_BITMAP to determine
file’s on
disk locaitons and unused cluster locations and sends the vender
specific
command to RAID HBA to move the data. will this work? How would windows
know
or update its own internal structures about the new file?
Thanks,
“James” wrote in message news:xxxxx@ntfsd…
On Tue, 31 Aug 2004 13:57:31 +0400, you wrote:
>> > FSCTL_GET_RETRIEVAL_POINTERS
>> > FSCTL_MOVE_FILE
>>
>> The first one will read the file’s on-disk location, but
>> unfortunately not write it as required in this case.
>
>The second will write 
It will write - but it doesn’t do what the previous poster wanted, of
updating the on-disk location to reflect a move already carried out -
it causes NTFS to perform the move itself.
James.
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com