CUpdateSettings:: allow choose tmp(ramfs,TMPFS_MAGIC) as update dir

This commit is contained in:
Jacek Jendrzej
2013-10-08 10:10:10 +02:00
parent 35b49b302d
commit 6f07cbe3dd
5 changed files with 16 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ int safe_mkdir(char * path);
off_t file_size(const char *filename);
bool file_exists(const char *filename);
void wakeup_hdd(const char *hdd_dir);
int check_dir(const char * dir);
int check_dir(const char * dir, bool allow_tmp = false);
bool get_fs_usage(const char * dir, long &total, long &used, long *bsize=NULL);
bool get_mem_usage(unsigned long &total, unsigned long &free);