Hi all,
I made an interesting observation regarding sparse files/streams in W2K
SP2.
Say we have a file on NTFS 5.x with four alternate streams. Now we use
FSCTL_SET_SPARSE to make one of the individual streams (not the “main
file’s” ::$DATA stream!) sparse. The interesting thing is that now the
main file (::$DATA) also receives the FILE_ATTRIBUTE_SPARSE_FILE flag,
however, the other alternate streams remain untouched.
Is this the expected behavior? The PSDK/DDK/IFS Kit doesn’t explicitly
say that it works like this, they merely mention that an alternate
stream can be made sparse. This is also in contrast to NTFS compression,
where if you compress an individual stream, only that very stream gets
compressed and the main ::$DATA stream remains untouched and does not
receive the FILE_ATTRIBUTE_COMPRESSED flag.
Thanks.
Ralf.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com