SteamRemovableMediaManager
Inherits: Resource
Properties
| Type | Name | Default |
|---|---|---|
| UDisks2Instance | udisks2 | |
| CustomLogger | logger | |
| bool | block_operations | false |
| bool | format_capable | false |
| bool | init_capable | false |
| bool | format_sd_capable | false |
| bool | retrigger_capable | false |
| bool | trim_capable | false |
Methods
| Returns | Signature |
|---|---|
| int | format_drive(device: BlockDevice) |
| int | init_steam_lib(partition: PartitionDevice) |
| int | retrigger_automounts() |
| int | format_sd_card() |
| int | trim_sd_card() |
Property Descriptions
udisks2
UDisks2Instance udisks2
Note
There is currently no description for this property. Please help us by contributing one!
logger
CustomLogger logger
Note
There is currently no description for this property. Please help us by contributing one!
block_operations
bool block_operations = false
Note
There is currently no description for this property. Please help us by contributing one!
format_capable
bool format_capable = false
Note
There is currently no description for this property. Please help us by contributing one!
init_capable
bool init_capable = false
Note
There is currently no description for this property. Please help us by contributing one!
format_sd_capable
bool format_sd_capable = false
Note
There is currently no description for this property. Please help us by contributing one!
retrigger_capable
bool retrigger_capable = false
Note
There is currently no description for this property. Please help us by contributing one!
trim_capable
bool trim_capable = false
Note
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
format_drive()
int format_drive(device: BlockDevice)
Calls the SteamRemovableMedia format-media script to format a drive as EXT4 and intialize it as a steam library
init_steam_lib()
int init_steam_lib(partition: PartitionDevice)
Calls the SteamRemovableMedia init-media script to intialize a drive as a steam library
retrigger_automounts()
int retrigger_automounts()
Calls the SteamRemovableMedia or SteamOS retrigger-automounts script to restart all the media-mount@ scripts.
format_sd_card()
int format_sd_card()
Calls the SteamRemovableMedia or SteamOS format-sd script to format mmcblk0 as EXT4 and intialize it as a steam library
trim_sd_card()
int trim_sd_card()
Calls the SteamRemovableMedia or SteamOS trim-devices script to perform a trim operation on mmcblk0.