{"action":"created","issue":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/2108","labels_url":"https://api.github.com/repos/dnschneid/crouton/issues/2108/labels{/name}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/2108/comments","events_url":"https://api.github.com/repos/dnschneid/crouton/issues/2108/events","html_url":"https://github.com/dnschneid/crouton/issues/2108","id":106861148,"number":2108,"title":"Add destination size test","user":{"login":"dnschneid","id":522200,"avatar_url":"https://avatars.githubusercontent.com/u/522200?v=3","gravatar_id":"","url":"https://api.github.com/users/dnschneid","html_url":"https://github.com/dnschneid","followers_url":"https://api.github.com/users/dnschneid/followers","following_url":"https://api.github.com/users/dnschneid/following{/other_user}","gists_url":"https://api.github.com/users/dnschneid/gists{/gist_id}","starred_url":"https://api.github.com/users/dnschneid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnschneid/subscriptions","organizations_url":"https://api.github.com/users/dnschneid/orgs","repos_url":"https://api.github.com/users/dnschneid/repos","events_url":"https://api.github.com/users/dnschneid/events{/privacy}","received_events_url":"https://api.github.com/users/dnschneid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dnschneid/crouton/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/dnschneid/crouton/labels/pie","name":"pie","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-16T20:49:25Z","updated_at":"2015-10-22T03:07:14Z","closed_at":null,"body":"If the partition size is less than 4 GB, spit out a warning.  If free space is less than 2GB, spit out a warning.\r\n\r\nCan determine whether the former is due to a Chrubuntu install by using \r\n`mount -o ro rootfs-c /tmp/somewhere` and grepping /tmp/somewhere/etc/lsb-release."},"comment":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/comments/150093404","html_url":"https://github.com/dnschneid/crouton/issues/2108#issuecomment-150093404","issue_url":"https://api.github.com/repos/dnschneid/crouton/issues/2108","id":150093404,"user":{"login":"dnschneid","id":522200,"avatar_url":"https://avatars.githubusercontent.com/u/522200?v=3","gravatar_id":"","url":"https://api.github.com/users/dnschneid","html_url":"https://github.com/dnschneid","followers_url":"https://api.github.com/users/dnschneid/followers","following_url":"https://api.github.com/users/dnschneid/following{/other_user}","gists_url":"https://api.github.com/users/dnschneid/gists{/gist_id}","starred_url":"https://api.github.com/users/dnschneid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnschneid/subscriptions","organizations_url":"https://api.github.com/users/dnschneid/orgs","repos_url":"https://api.github.com/users/dnschneid/repos","events_url":"https://api.github.com/users/dnschneid/events{/privacy}","received_events_url":"https://api.github.com/users/dnschneid/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T03:07:14Z","updated_at":"2015-10-22T03:07:14Z","body":"True, the partition that the chroot would be installed on is the important part.  You should be able to use something akin to the code that checks for ext filesystems to figure out what exactly to check.  Also I think your code is checking for 4 and 2MB filesystems :)\r\n\r\nGo ahead and start PR and I'll give more detailed feedback.\r\n\r\nThanks again for picking up the pie!"}}