{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/1085","labels_url":"https://api.github.com/repos/puppetlabs/facter/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/facter/issues/1085/comments","events_url":"https://api.github.com/repos/puppetlabs/facter/issues/1085/events","html_url":"https://github.com/puppetlabs/facter/pull/1085","id":98280206,"number":1085,"title":"(FACT-1152) Use /sys/block in the linux FS resolver","user":{"login":"haus","id":98408,"avatar_url":"https://avatars.githubusercontent.com/u/98408?v=3","gravatar_id":"","url":"https://api.github.com/users/haus","html_url":"https://github.com/haus","followers_url":"https://api.github.com/users/haus/followers","following_url":"https://api.github.com/users/haus/following{/other_user}","gists_url":"https://api.github.com/users/haus/gists{/gist_id}","starred_url":"https://api.github.com/users/haus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haus/subscriptions","organizations_url":"https://api.github.com/users/haus/orgs","repos_url":"https://api.github.com/users/haus/repos","events_url":"https://api.github.com/users/haus/events{/privacy}","received_events_url":"https://api.github.com/users/haus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-30T22:43:47Z","updated_at":"2015-08-11T20:34:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/facter/pulls/1085","html_url":"https://github.com/puppetlabs/facter/pull/1085","diff_url":"https://github.com/puppetlabs/facter/pull/1085.diff","patch_url":"https://github.com/puppetlabs/facter/pull/1085.patch"},"body":"Previously /sys/class/block was used in the linux FS resolver. This is\r\nnot available on older linuxes such as el4/el5/sles10, which meant that\r\nthe size on partitions there would be returned as 0. /sys/block exists\r\nin both older linux and newer linux, so this commit updates the linux\r\nsize function to read /sys/block instead of /sys/class/block.\r\nThe /sys/block varation requires deriving the device name for the\r\npartition, which requires boost::regex."},"comment":{"url":"https://api.github.com/repos/puppetlabs/facter/issues/comments/130058426","html_url":"https://github.com/puppetlabs/facter/pull/1085#issuecomment-130058426","issue_url":"https://api.github.com/repos/puppetlabs/facter/issues/1085","id":130058426,"user":{"login":"haus","id":98408,"avatar_url":"https://avatars.githubusercontent.com/u/98408?v=3","gravatar_id":"","url":"https://api.github.com/users/haus","html_url":"https://github.com/haus","followers_url":"https://api.github.com/users/haus/followers","following_url":"https://api.github.com/users/haus/following{/other_user}","gists_url":"https://api.github.com/users/haus/gists{/gist_id}","starred_url":"https://api.github.com/users/haus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haus/subscriptions","organizations_url":"https://api.github.com/users/haus/orgs","repos_url":"https://api.github.com/users/haus/repos","events_url":"https://api.github.com/users/haus/events{/privacy}","received_events_url":"https://api.github.com/users/haus/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T20:34:09Z","updated_at":"2015-08-11T20:34:09Z","body":"This all sounds sane. I'm not sure I'll have bandwidth to pick that up or not."}}