classstuds::Sys
sys::Obj studs::Sys
Sys provides system level information and utilites for a target device.
- isDataMounted
static Bool isDataMounted()Return true it the writable data parition is mounted. See mountData.
- mountData
static Void mountData(Bool reformat := true)Mount the writable data partition for this device under the
/datadirectory. If the partition fails to mount andreformat=true, then the partition is automatically reformatted, and mount attempted again. ThrowsIOErrif data partition could not be mounted. If partition is already mounted, this method does nothing.- props
Get
etc/sys.propssystem properites, which includes:proj.nameproj.versionstuds.versionsystem.namesystem.version
- reboot
static Void reboot()Reboot this device.
- shutdown
static Void shutdown()Shutdown this device.