MAC Directory Streams

I have seen cases where a stream on a MAC directory (using services for MAC)
is written to after a created base directory is renamed. Which means the
streams was open prior to the directory being rename and still appears to be
open during the rename. I tried to do this with a win 32 app but it won’t
let the rename occur if the stream is open.

Does Services for MAC in fact open the Stream, rename the base dir and then
write to stream?

Is there some way to detect that a base file for a stream has been renamed?

Thanks,

Ken

Actually I’m able to reproduce this with WIN32 (needed SHARED_DELETE on the
open).

So the questions are:

Is there anyway to know what the opened streams are for a file that is being
renamed.

Is there some way to detect that the base file for a stream has been
renamed? (short of querying the file name on each stream operation).

Thanks,

Ken


From: Ken Galipeau [mailto:xxxxx@legato.com]
Sent: Monday, April 12, 2004 12:56 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] MAC Directory Streams

I have seen cases where a stream on a MAC directory (using services for MAC)
is written to after a created base directory is renamed. Which means the
streams was open prior to the directory being rename and still appears to be
open during the rename. I tried to do this with a win 32 app but it won’t
let the rename occur if the stream is open.

Does Services for MAC in fact open the Stream, rename the base dir and then
write to stream?

Is there some way to detect that a base file for a stream has been renamed?

Thanks,

Ken


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to xxxxx@lists.osr.com