sync
Forces cached filesystem writes to disk to ensure data durability before shutdown or critical operations. Returns JSON sync status.
Instructions
Flush cached filesystem writes to persistent storage where supported. Read-only in interface but causes I/O: forces dirty buffers to disk. Returns JSON with sync status. Use to ensure data durability before critical operations like system shutdown. Not for general use before every file operation — most commands flush on close. See also 'dd'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Report without syncing. |