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

Origin commit data
------------------
Commit: 6f07cbe3dd
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-10-08 (Tue, 08 Oct 2013)

Origin message was:
------------------
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 7c95a5ee9b
commit 7588017b3d
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);