Patent ID: 7478116

Claim:
A file stream exchange system, comprising: a processor a file system agent coupled to said processor that is a user mode component that allows exchange of a recipient file backed item and a donor file backed item, if no open handles on the donor file backed item exist; and, a replace stream component that is a kernel mode component that swaps mapping of the recipient file backed item with the donor file backed item without violating common criteria for security, the replace stream component provides a kernel-level infrastructure that allows user-made processes to register, own, and manage Universal Naming Convention (UNC) namespaces; wherein the replace stream component accepts a transaction bind token, and if the transaction bind token is passed then the replace stream component is used to bind to a transaction context prescribed by that bind token, if not, the replace stream component creates a own transaction and commits the transaction if actions are successful; and wherein the donor file backed item is not deleted on close of the handle, and the recipient file backed item and donor file backed item retain basic attributes and the basic attributes are not swapped by the system.