.transactionstart Method

Function:

Starts a disk transaction.

Syntax:

fd.transactionstart() as pl_fd_status_codes

Returns:

One of the following pl_fd_status_codes, also affects fd.laststatus:

0 — PL_FD_STATUS_OK: Completed successfully.

8 — PL_FD_STATUS_NOT_READY: The disk is not mounted.

12 — PL_FD_STATUS_TRANSACTION_ALREADY_STARTED: Disk transaction has already been started (and cannot be restarted).

15 — PL_FD_STATUS_TRANSACTIONS_NOT_SUPPORTED: The disk wasn't formatted to support transactions (use fd.formatj with maxjournalsectors > 1 to enable transactions).

See Also:

Using Disk Transactions, fd.transactioncommit, fd.transactionstarted, fd.transactioncapacityremaining