FILE_OPEN_FOR_BACKUP_INTENT

What does FILE_OPEN_FOR_BACKUP_INTENT mean on an IRP_MJ_CREATE of a file (as
opposed to a directory)? It is a normal FILE_OPEN of an existing file. Does
it have any implications for a FSFD? Thanks.

Other than the obvious where if your filter opens the file itself that it
propagate that bit to its opens. This will prevent the FSD from updating
last access and possibly not bringing an offline file on to disk.

“Neil Weicher” wrote in message news:xxxxx@ntfsd…
> What does FILE_OPEN_FOR_BACKUP_INTENT mean on an IRP_MJ_CREATE of a file
> (as
> opposed to a directory)? It is a normal FILE_OPEN of an existing file.
> Does
> it have any implications for a FSFD? Thanks.
>
>

What does this flag signal the file system to do - take the file offline after it is closed or something like that? Thanks.

---------- Original Message ----------------------------------
From: “David J. Craig”
Reply-To: “Windows File Systems Devs Interest List”
Date: Sat, 13 Oct 2007 11:44:48 -0700

>Other than the obvious where if your filter opens the file itself that it
>propagate that bit to its opens. This will prevent the FSD from updating
>last access and possibly not bringing an offline file on to disk.
>
>“Neil Weicher” wrote in message news:xxxxx@ntfsd…
>> What does FILE_OPEN_FOR_BACKUP_INTENT mean on an IRP_MJ_CREATE of a file
>> (as
>> opposed to a directory)? It is a normal FILE_OPEN of an existing file.
>> Does
>> it have any implications for a FSFD? Thanks.
>>
>>
>
>
>
>—
>NTFSD is sponsored by OSR
>
>For our schedule debugging and file system seminars
>(including our new fs mini-filter seminar) visit:
>http://www.osr.com/seminars
>
>You are currently subscribed to ntfsd as: xxxxx@netlib.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>

It tells the system to check the backup and restore privilges when doing the
access checks. These privilges override the normal access checks.

Bill Wandel

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Neil Weicher
Sent: Sunday, October 14, 2007 11:06 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] FILE_OPEN_FOR_BACKUP_INTENT

What does this flag signal the file system to do - take the file offline
after it is closed or something like that? Thanks.

---------- Original Message ----------------------------------
From: “David J. Craig”
Reply-To: “Windows File Systems Devs Interest List”
Date: Sat, 13 Oct 2007 11:44:48 -0700

>Other than the obvious where if your filter opens the file itself that
>it propagate that bit to its opens. This will prevent the FSD from
>updating last access and possibly not bringing an offline file on to disk.
>
>“Neil Weicher” wrote in message news:xxxxx@ntfsd…
>> What does FILE_OPEN_FOR_BACKUP_INTENT mean on an IRP_MJ_CREATE of a
>> file (as opposed to a directory)? It is a normal FILE_OPEN of an
>> existing file.
>> Does
>> it have any implications for a FSFD? Thanks.
>>
>>
>
>
>
>—
>NTFSD is sponsored by OSR
>
>For our schedule debugging and file system seminars (including our new
>fs mini-filter seminar) visit:
>http://www.osr.com/seminars
>
>You are currently subscribed to ntfsd as: xxxxx@netlib.com To
>unsubscribe send a blank email to xxxxx@lists.osr.com
>


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars (including our new fs
mini-filter seminar) visit:
http://www.osr.com/seminars

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

This operation will be failed by Io even before the FSD if the process has
no SeBackupPrivilege.

But, if the privilege is OK, the IRP is delivered to the FSD, and NTFS
ignores the ACL completely, just checks that there is no write desired
access.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“Neil Weicher” wrote in message news:xxxxx@ntfsd…
> What does FILE_OPEN_FOR_BACKUP_INTENT mean on an IRP_MJ_CREATE of a file (as
> opposed to a directory)? It is a normal FILE_OPEN of an existing file. Does
> it have any implications for a FSFD? Thanks.
>
>