WMPRO, WMMINI FW >= 1.55 WMMEGA FW >= 2.0 WM2 FW >= 3.0
Return mount status of a drive
$drive: 0=sd card, 1=internal flash (M2 only)
Status of the drive, 1 = unmounted and 0 = mounted.
<? $d1=disk_status(0); if ($d1) print("MicroSD card unmounted"); $d2=disk_status(1); if ($d2) print("Flash unmounted"); ?>
disk_total_space() - Return total space on microSD card
get_drive() - Return boot drive