# plugins.core.disk.automount

Automatic Disk Mounting & Unmounting.


# API Overview

Variables - Configurable values

  • autoMountOnAC
  • autoUnmountOnBattery

Functions - API calls offered directly by the extension

  • mountPhysicalDrives
  • unmountPhysicalDrives

# API Documentation

# Variables

# autoMountOnAC

Signature plugins.core.disk.automount.autoMountOnAC <cp.prop: boolean>
Type Variable
Description Automatically mount on connection to mains power.
Notes None
Source src/plugins/core/disk/automount.lua line 66

# autoUnmountOnBattery

Signature plugins.core.disk.automount.autoUnmountOnBattery <cp.prop: boolean>
Type Variable
Description Automatically Unmount on disconnection from battery.
Notes None
Source src/plugins/core/disk/automount.lua line 61

# Functions

# mountPhysicalDrives

Signature plugins.core.disk.automount.mountPhysicalDrives() -> none
Type Function
Description Mount Physical Drives
Parameters
  • None
Returns
  • None
Notes None
Examples None
Source src/plugins/core/disk/automount.lua line 31

# unmountPhysicalDrives

Signature plugins.core.disk.automount.unmountPhysicalDrives() -> none
Type Function
Description Unmount Physical Drives
Parameters
  • None
Returns
  • None
Notes None
Examples None
Source src/plugins/core/disk/automount.lua line 18