Recycle Bin & FSD

Does anyone know how the Recycle Bin interacts with the FSD ? Is there
anything special I should do in order for the Recycle Bin to function
properly on my custom FS implementation ?

>Does anyone know how the Recycle Bin interacts with the FSD ? Is there

anything special I should do in order for the Recycle Bin to function
properly on my custom FS implementation ?

You need to handle properly setting disposition information with
DeleteFile flag set to FALSE.

Alexei.

Recycler is an Explorer ‘feature’. On pre-XP versions, to get complete
recycler functionality, I found it handy to have the name of my FS be
NTFS or FAT. It seemed to check this… Haven’t tested this on XP and
later.

Other than that, it is a bunch of renames that Explorer will send you
when a file is deleted.

Hope this helps,

Pete

Peter Scott
xxxxx@KernelDrivers.com
www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sorin Stoiana
Sent: Friday, January 17, 2003 9:06 AM
To: File Systems Developers
Subject: [ntfsd] Recycle Bin & FSD

Does anyone know how the Recycle Bin interacts with the FSD ? Is there
anything special I should do in order for the Recycle Bin to function
properly on my custom FS implementation ?


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

No, but FSDs are complex beasts, so, it is better to test them with as
large number of apps as possible.

----- Original Message -----
From: “Sorin Stoiana”
Newsgroups: ntfsd
To: “File Systems Developers”
Sent: Friday, January 17, 2003 7:06 PM
Subject: [ntfsd] Recycle Bin & FSD

> Does anyone know how the Recycle Bin interacts with the FSD ? Is
there
> anything special I should do in order for the Recycle Bin to
function
> properly on my custom FS implementation ?
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Moving to the recycle bin is not a delete. You will see a rename. You
might also see IRP_MJ_SET_INFORMATION FileDispositonInformation with
DeleteFile TRUE followed by the same with DeleteFile FALSE. This could be
for the file moved to the recycle bin. If the file is a directory then you
can also see this pattern for files down the tree from that directory.
Well, that’s what I see anyway.