projects
/
platform
/
core
/
system
/
storaged.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
796fa9e
)
block: Create file when sdcard is inserted
86/141086/2
accepted/tizen/4.0/unified/20170816.011942
accepted/tizen/4.0/unified/20170816.015025
accepted/tizen/4.0/unified/20170829.020438
accepted/tizen/unified/20170731.020634
submit/tizen/20170728.063117
submit/tizen_4.0/20170811.094300
submit/tizen_4.0/20170814.115522
submit/tizen_4.0/20170828.100004
submit/tizen_4.0_unified/20170814.115522
author
pr.jung
<pr.jung@samsung.com>
Fri, 28 Jul 2017 06:16:49 +0000
(15:16 +0900)
committer
pr.jung
<pr.jung@samsung.com>
Fri, 28 Jul 2017 06:29:45 +0000
(15:29 +0900)
Change-Id: Ia430af302ac7df92aa916313c73f3bd4d7fc26a9
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/block/block.c
patch
|
blob
|
history
diff --git
a/src/block/block.c
b/src/block/block.c
index 6fbab38e307ed8d2c0a4a7a3d408e617d65df051..7d85799393eaac94b117a8e277308634902ab2c6 100644
(file)
--- a/
src/block/block.c
+++ b/
src/block/block.c
@@
-2128,6
+2128,8
@@
static int add_block_device(struct udev_device *dev, const char *devnode)
return 0;
}
+ /* Create file for block device /run/external-storage/id */
+ create_file(bdev->data->id, bdev->data->mount_point, false);
ret = add_operation(bdev, BLOCK_DEV_MOUNT, NULL, NULL);
if (ret < 0) {
_E("Failed to add operation (mount %s)", devnode);