From:	SMTP%"steve.goddard@interwoven.com"  6-JAN-1998 17:47:13.27
To:	"'Sushil Baid'" <baid@wipinfo.soft.net>,        "ntfsd@atria.com"  <ntfsd@atria.com>
CC:	
Subj:	RE: [ntfsd] change filename in filter driver??

Return-Path: owner-ntfsd@atria.com
Received: by arisia.gce.com (UCX V4.1-12C, OpenVMS V7.1 VAX);
	Tue, 6 Jan 1998 17:46:34 -0500
Received: from gw.atria.com (gw.atria.com [192.88.237.2]) by mercury.mv.net (8.8.8/mem-971025) with SMTP id RAA09983 for <everhart@arisia.gce.com>; Tue, 6 Jan 1998 17:29:42 -0500 (EST)
Received: by gw.atria.com id <OAA17871@gw.atria.com> Tue, 6 Jan 1998 14:58:24 -0500    
Received: from interwoven.com by gw.atria.com id <OAA17862@gw.atria.com> Tue, 6 Jan 1998 14:58:19 -0500    
Received: from pena by interwoven.com (SMI-8.6/SMI-SVR4)
	id LAA28616; Tue, 6 Jan 1998 11:57:37 -0800
Received: by localhost with Microsoft MAPI; Tue, 6 Jan 1998 11:58:26 -0800
Message-ID: <01BD1A9A.659EE5C0.steve.goddard@interwoven.com>
From: Steve Goddard <steve.goddard@interwoven.com>
To: "'Sushil Baid'" <baid@wipinfo.soft.net>,
        "ntfsd@atria.com"
	 <ntfsd@atria.com>
Subject: RE: [ntfsd] change filename in filter driver??
Date: Tue, 6 Jan 1998 11:58:25 -0800
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Sender: owner-ntfsd@atria.com
Precedence: bulk
X-Majordomo-Taboo: ntfsd

Yep you are exactly right, this works as you suggest. 
You will just have to reallocate the memory (from paged pool) if you need a larger buffer.
Remember to free the original filename buffer too.

Steve

============================================================
Steve Goddard

Tel:  	(650) 917-3600 ext 206
Email:	steve.goddard@interwoven.com
Web:  	http://www.interwoven.com
============================================================

-----Original Message-----
From:	Sushil Baid [SMTP:baid@wipinfo.soft.net]
Sent:	Tuesday, January 06, 1998 5:14 AM
To:	ntfsd@atria.com
Subject:	[ntfsd] change filename in filter driver??

hi,

Can one change the filename in the Fileobject in the IRP say 
c:\test\request to c:\ourtest\ourrequest in filter driver over 
filesystem. And can provide some kind of renaming transparently 
without any trouble.  Note the pathname length is  going to 
increase.(How much memory IO manager allocates for the filename in 
the FILE_OBJECT??)

Is it as simple as this?
What when the filename is relative ? will this still work if u 
just change the filenames in all the FILE_OBJECTS in 
RelativeFileObject chain.

what are the cases when the filename is relative? I checked using 
filemon , but it was so in very few cases and I could not find the 
specific criteria when the filename is relative.

your comments are invited....

   -Sushil
Sushil Baid
Wipro Infotech 
Global R& D Division
B'lore
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ To unsubscribe, send email to ntfsd-request@atria.com with body
UNSUBSCRIBE (the subject is ignored). ]

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ To unsubscribe, send email to ntfsd-request@atria.com with body
UNSUBSCRIBE (the subject is ignored). ]
