From 600669d7db4b7866e420f668b462093dfd4c5e47 Mon Sep 17 00:00:00 2001 From: Taeyoung Kim Date: Wed, 17 Feb 2016 14:17:47 +0900 Subject: [PATCH] paths: change mount path to TZ_SYS_MEDIA - Tizen Directory policy is changed. The block device mount paths are located under the TZ_SYS_MEDIA (/opt/media) Change-Id: I5376ff66d94db8b3bfde19db304d8566985b8c1e Signed-off-by: Taeyoung Kim --- src/statvfs.c | 2 +- src/storage-sdcard.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/statvfs.c b/src/statvfs.c index 859f43d..5d04821 100644 --- a/src/statvfs.c +++ b/src/statvfs.c @@ -328,7 +328,7 @@ static int mount_check(const char *path) static const char *get_external_path(void) { - return tzplatform_mkpath(TZ_SYS_STORAGE, + return tzplatform_mkpath(TZ_SYS_MEDIA, EXTERNAL_MEMORY_NODE); } diff --git a/src/storage-sdcard.c b/src/storage-sdcard.c index 8d6dcbd..742586e 100755 --- a/src/storage-sdcard.c +++ b/src/storage-sdcard.c @@ -89,7 +89,7 @@ static int sdcard_get_space(unsigned long long *total, unsigned long long *avail static const char *sdcard_get_root(void) { - return tzplatform_mkpath(TZ_SYS_STORAGE, SDCARD_NODE); + return tzplatform_mkpath(TZ_SYS_MEDIA, SDCARD_NODE); } static void sdcard_state_cb(keynode_t *key, void *data) -- 2.7.4