{"action":"created","issue":{"url":"https://api.github.com/repos/nemomobile/sd-utils/issues/19","labels_url":"https://api.github.com/repos/nemomobile/sd-utils/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/nemomobile/sd-utils/issues/19/comments","events_url":"https://api.github.com/repos/nemomobile/sd-utils/issues/19/events","html_url":"https://github.com/nemomobile/sd-utils/pull/19","id":90349539,"number":19,"title":"Tune + fix /usr/sbin/mount-sd.sh","user":{"login":"V10lator","id":1312422,"avatar_url":"https://avatars.githubusercontent.com/u/1312422?v=3","gravatar_id":"","url":"https://api.github.com/users/V10lator","html_url":"https://github.com/V10lator","followers_url":"https://api.github.com/users/V10lator/followers","following_url":"https://api.github.com/users/V10lator/following{/other_user}","gists_url":"https://api.github.com/users/V10lator/gists{/gist_id}","starred_url":"https://api.github.com/users/V10lator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/V10lator/subscriptions","organizations_url":"https://api.github.com/users/V10lator/orgs","repos_url":"https://api.github.com/users/V10lator/repos","events_url":"https://api.github.com/users/V10lator/events{/privacy}","received_events_url":"https://api.github.com/users/V10lator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T10:31:45Z","updated_at":"2015-06-24T14:50:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nemomobile/sd-utils/pulls/19","html_url":"https://github.com/nemomobile/sd-utils/pull/19","diff_url":"https://github.com/nemomobile/sd-utils/pull/19.diff","patch_url":"https://github.com/nemomobile/sd-utils/pull/19.patch"},"body":"See the commits for details."},"comment":{"url":"https://api.github.com/repos/nemomobile/sd-utils/issues/comments/114896113","html_url":"https://github.com/nemomobile/sd-utils/pull/19#issuecomment-114896113","issue_url":"https://api.github.com/repos/nemomobile/sd-utils/issues/19","id":114896113,"user":{"login":"iamer","id":628209,"avatar_url":"https://avatars.githubusercontent.com/u/628209?v=3","gravatar_id":"","url":"https://api.github.com/users/iamer","html_url":"https://github.com/iamer","followers_url":"https://api.github.com/users/iamer/followers","following_url":"https://api.github.com/users/iamer/following{/other_user}","gists_url":"https://api.github.com/users/iamer/gists{/gist_id}","starred_url":"https://api.github.com/users/iamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamer/subscriptions","organizations_url":"https://api.github.com/users/iamer/orgs","repos_url":"https://api.github.com/users/iamer/repos","events_url":"https://api.github.com/users/iamer/events{/privacy}","received_events_url":"https://api.github.com/users/iamer/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T14:50:44Z","updated_at":"2015-06-24T14:50:44Z","body":"The reason it is done like this is not annoy users. Tracker has removable volume support watching based on Glib2 and /proc/mounts and /dev/mmcblk1 is added to the watched volumes (https://github.com/mer-packages/glib2/blob/master/rpm/0001-Add-dev-mmcblk-to-the-list-of-devices-to-be-detected.patch).\r\n\r\nWhen a removable volume is removed (but the mount point has to stay around) the filesystem tree is marked as not available and when it is reinserted the tree is marked as available and quickly scanned for changes. This is much faster than a full reindex.\r\n\r\nAs for the TRIM option, it would be nice to handle it in a separate pull request with links to documentation on how it helps (benchmarks etc..  if possible)"}}