Disable DD Flags

Overview

Virtualizor uses the oflag=direct and iflag=direct when using “dd” to perform various tasks. Some admins might want to disable this. We have added an option to disable this if the Admin so desires to do so.
This guide is intended for the admins who want to disable the oflag=direct and iflag=direct.

Edit the Configuration File

In Virtualizor the main configuration file is located at :

/usr/local/virtualizor/universal.php

You will have to manually set the variable in the config file.
You will need to set the following variable :

$globals['disable_dd_flags'] = 0; 

That is it. The dd flags will now be disabled.

Was this helpful to you?