GUF-Yocto-jethro-9.0-r7707-0
i.MX6
User Manual
Figure 4: Automatic transfer process from storage medium (left hand) to the targets root file system (right hand)
after plugging the storage
Warning:
The user should be carefull by copying system files that may lead to an unusable system.
Garz & Fricke refuses to carry responsibility for damages caused by the users copying process. Fur-
ther, the user should consider to disable or restrict this mechanism to copy only carefully selected
files by customizing the
/etc/udev/scripts/mount.sh
script in the field to prevent missuse. Again, the
responsibility is up to the user.
Enabling/Disabling:
Starting with OS Release 33 and newer the
autocopy
function may be enabled/disabled
via XML-configuration and the
sconfig
tool.
For backward compatibility the
autocopy
function is still enabled by default if the XML-configuration contains no
explicit setting for this function. To be able to configure each of the
autojob
functions individually, you may have
to install an XML-configuration file specifying explicit state-settings for the
autojob
functions. At least two such
configuration files are available from Garz & Fricke:
rbcfg-enable-autojobs.xml
:
Enables all
autojob
functions (default behaviour).
rbcfg-disable-autojobs.xml
:
Disables all
autojob
functions.
These may be installed like all other XML-configuration files via the
xconfig
tool, e.g.:
root@santaro:~# export TFTP=172.20.0.146
root@santaro:~# curl tftp://$TFTP/rbcfg-enable-autojobs.xml > /tmp/cfg.xml
root@santaro:~# xconfig import -y /tmp/cfg.xml
Afterwards you can query and enable/disable each
autojob
individually using
sconfig
.
Enable
autocopy
function:
root@santaro:~# sconfig autocopy all
Disable
autocopy
function:
root@santaro:~# sconfig autocopy off
Query current state of
autocopy
function:
root@santaro:~# sconfig autocopy
off
21