summaryrefslogtreecommitdiff
path: root/legacy/eeze/src/bin/eeze_mount.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-02-09 21:36:37 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-02-09 21:36:37 +0000
commit345e17dbfaf1065f965e02ec40228aeb96702800 (patch)
tree06e032fdd3f17f2080af329c7d51fda348d23b0e /legacy/eeze/src/bin/eeze_mount.c
parent9d811df5b2ff7b564c0cf32bd8fa5eea29bfec4d (diff)
demonstrate eeze_disk_mountopts_get for coverage
SVN revision: 56883
Diffstat (limited to 'legacy/eeze/src/bin/eeze_mount.c')
-rw-r--r--legacy/eeze/src/bin/eeze_mount.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/legacy/eeze/src/bin/eeze_mount.c b/legacy/eeze/src/bin/eeze_mount.c
index af45c67cc8..235c7ba2d6 100644
--- a/legacy/eeze/src/bin/eeze_mount.c
+++ b/legacy/eeze/src/bin/eeze_mount.c
@@ -104,7 +104,11 @@ main(int argc, char *argv[])
104 { 104 {
105 eeze_disk_mount_point_set(disk, mount_point); 105 eeze_disk_mount_point_set(disk, mount_point);
106 if (eina_str_has_extension(dev, "iso")) 106 if (eina_str_has_extension(dev, "iso"))
107 eeze_disk_mountopts_set(disk, EEZE_DISK_MOUNTOPT_LOOP | EEZE_DISK_MOUNTOPT_NOEXEC | EEZE_DISK_MOUNTOPT_NOSUID); 107 {
108 int f;
109 f = eeze_disk_mountopts_get(disk);
110 eeze_disk_mountopts_set(disk, f | EEZE_DISK_MOUNTOPT_LOOP);
111 }
108 } 112 }
109 ecore_event_handler_add(EEZE_EVENT_DISK_MOUNT, (Ecore_Event_Handler_Cb)_mount_cb, NULL); 113 ecore_event_handler_add(EEZE_EVENT_DISK_MOUNT, (Ecore_Event_Handler_Cb)_mount_cb, NULL);
110 ecore_event_handler_add(EEZE_EVENT_DISK_ERROR, (Ecore_Event_Handler_Cb)_error_cb, NULL); 114 ecore_event_handler_add(EEZE_EVENT_DISK_ERROR, (Ecore_Event_Handler_Cb)_error_cb, NULL);