<!--
{
  "availability" : [
    "macOS: 15.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FSKit",
  "identifier" : "/documentation/FSKit/FSVolume/ItemDeactivationOptions/forPreallocatedItems",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "FSKit"
    ],
    "preciseIdentifier" : "c:@E@FSItemDeactivationOptions@FSItemDeactivationForPreallocatedItems"
  },
  "title" : "forPreallocatedItems"
}
-->

# forPreallocatedItems

An option to process deactivation for for files with preallocated space.

```
static var forPreallocatedItems: FSVolume.ItemDeactivationOptions { get }
```

## Discussion

This option facilitates a sort of trim-on-close behavior.
It is only meaningful for volumes that conform to [`FSVolume.PreallocateHandler`](/documentation/FSKit/FSVolume/PreallocateHandler).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)