{"action":"created","issue":{"url":"https://api.github.com/repos/puppylinux-woof-CE/woof-CE/issues/777","repository_url":"https://api.github.com/repos/puppylinux-woof-CE/woof-CE","labels_url":"https://api.github.com/repos/puppylinux-woof-CE/woof-CE/issues/777/labels{/name}","comments_url":"https://api.github.com/repos/puppylinux-woof-CE/woof-CE/issues/777/comments","events_url":"https://api.github.com/repos/puppylinux-woof-CE/woof-CE/issues/777/events","html_url":"https://github.com/puppylinux-woof-CE/woof-CE/issues/777","id":155779108,"number":777,"title":"Replace guess_fstype with a wrapper script?","user":{"login":"wdlkmpx","id":10052849,"avatar_url":"https://avatars.githubusercontent.com/u/10052849?v=3","gravatar_id":"","url":"https://api.github.com/users/wdlkmpx","html_url":"https://github.com/wdlkmpx","followers_url":"https://api.github.com/users/wdlkmpx/followers","following_url":"https://api.github.com/users/wdlkmpx/following{/other_user}","gists_url":"https://api.github.com/users/wdlkmpx/gists{/gist_id}","starred_url":"https://api.github.com/users/wdlkmpx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdlkmpx/subscriptions","organizations_url":"https://api.github.com/users/wdlkmpx/orgs","repos_url":"https://api.github.com/users/wdlkmpx/repos","events_url":"https://api.github.com/users/wdlkmpx/events{/privacy}","received_events_url":"https://api.github.com/users/wdlkmpx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-19T16:24:31Z","updated_at":"2016-05-21T03:53:36Z","closed_at":null,"body":"That runs blkid\r\n\r\nThis code uses busybox exclusively and behaves exactly like guess_fstype, not to mention that it does recognize the filesystem of /dev/loopX devices that guess_fstype does not\r\n\r\n\t#!/bin/busybox ash\r\n\r\n\tbb=busybox\r\n\r\n\tif [ \"$1\" = \"\" ] ; then\r\n\t\techo \"Usage: guess_fstype device\"\r\n\t\texit\r\n\tfi\r\n\tif [ ! -b \"$1\" ] ; then\r\n\t\techo unknown\r\n\t\texit 1\r\n\telse\r\n\t\tres=$($bb blkid \"$1\" | $bb sed -e 's|.*TYPE=\"||' -e 's|\".*||')\r\n\t\tif [ \"$res\" = \"\" ] ; then\r\n\t\t\techo unknown\r\n\t\t\texit 1\r\n\t\telse\r\n\t\t\techo \"$res\"\r\n\t\tfi\r\n\tfi\r\n"},"comment":{"url":"https://api.github.com/repos/puppylinux-woof-CE/woof-CE/issues/comments/220756795","html_url":"https://github.com/puppylinux-woof-CE/woof-CE/issues/777#issuecomment-220756795","issue_url":"https://api.github.com/repos/puppylinux-woof-CE/woof-CE/issues/777","id":220756795,"user":{"login":"01micko","id":1019119,"avatar_url":"https://avatars.githubusercontent.com/u/1019119?v=3","gravatar_id":"","url":"https://api.github.com/users/01micko","html_url":"https://github.com/01micko","followers_url":"https://api.github.com/users/01micko/followers","following_url":"https://api.github.com/users/01micko/following{/other_user}","gists_url":"https://api.github.com/users/01micko/gists{/gist_id}","starred_url":"https://api.github.com/users/01micko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01micko/subscriptions","organizations_url":"https://api.github.com/users/01micko/orgs","repos_url":"https://api.github.com/users/01micko/repos","events_url":"https://api.github.com/users/01micko/events{/privacy}","received_events_url":"https://api.github.com/users/01micko/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T03:53:36Z","updated_at":"2016-05-21T03:53:36Z","body":"Maybe.. but @jamesbond3142 does have a guess_fstype patch for busybox which should be added to initrd_progs and petbuilds."}}
{"actor":{"display_login":"01micko"}}