NTFS_ATTR_CAN_BE_RESIDENT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ntfs_attr_can_be_resident - check if an attribute can be resident  

SYNOPSIS

"SYNOPSIS"

int ntfs_attr_can_be_resident (const ntfs_volume * vol, const ATTR_TYPE type);  

ARGUMENTS

vol
ntfs volume to which the attribute belongs
type
attribute type which to check
 

DESCRIPTION

Check whether the attribute of type on the ntfs volume vol is allowed to be resident. This information is derived from our ntfs knowledge and may not be completely accurate, especially when user defined attributes are present. Basically we allow everything to be resident except for index allocation and $EA attributes.

Return 0 if the attribute is allowed to be non-resident and -EPERM if not.  

WARNING

In the system file $MFT the attribute $Bitmap must be non-resident otherwise windows will not boot (blue screen of death)! We cannot check for this here as we do not know which inode's $Bitmap is being asked about so the caller needs to special case this.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
WARNING

This document was created by man2html, using the manual pages.
Time: 00:02:33 GMT, October 09, 2005