07-21-2019, 12:38 PM
@Tim Curtis
In worker.php,
For a fresh install of 5.4beta2 on a 32GB uSD card
Oops. As a result System Conf erroneously tells me the file system (already) has been expanded when it hasn't.
Regards,
Kent
In worker.php,
Code:
// file system expansion status
$result = sysCmd("df | grep root | awk '{print $2}'");
$msg = $result[0] > 3000000 ? 'File system expanded' : 'File system not expanded yet';
For a fresh install of 5.4beta2 on a 32GB uSD card
Code:
pi@moode:~ $ df|grep root|awk '{print $2}'
3496176
Oops. As a result System Conf erroneously tells me the file system (already) has been expanded when it hasn't.
Regards,
Kent