pool.dataset.lock ================= Locks `id` dataset. It will unmount the dataset and its children before locking. After the dataset has been unmounted, system will set immutable flag on the dataset's mountpoint where the dataset was mounted before it was locked making sure that the path cannot be modified. Once the dataset is unlocked, it will not be affected by this change and consumers can continue consuming it. This method is a job. .. raw:: html
The dataset ID (full path) to lock.
Options for locking the dataset, such as force unmount settings.
No Additional PropertiesForce unmounting of the dataset before locking.
Dataset is locked.
Specific value:true