{"action":"created","issue":{"url":"https://api.github.com/repos/chef/ohai/issues/559","labels_url":"https://api.github.com/repos/chef/ohai/issues/559/labels{/name}","comments_url":"https://api.github.com/repos/chef/ohai/issues/559/comments","events_url":"https://api.github.com/repos/chef/ohai/issues/559/events","html_url":"https://github.com/chef/ohai/pull/559","id":89088163,"number":559,"title":"Provide a new and improved linux filesystem plugin","user":{"login":"jaymzh","id":938467,"avatar_url":"https://avatars.githubusercontent.com/u/938467?v=3","gravatar_id":"","url":"https://api.github.com/users/jaymzh","html_url":"https://github.com/jaymzh","followers_url":"https://api.github.com/users/jaymzh/followers","following_url":"https://api.github.com/users/jaymzh/following{/other_user}","gists_url":"https://api.github.com/users/jaymzh/gists{/gist_id}","starred_url":"https://api.github.com/users/jaymzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaymzh/subscriptions","organizations_url":"https://api.github.com/users/jaymzh/orgs","repos_url":"https://api.github.com/users/jaymzh/repos","events_url":"https://api.github.com/users/jaymzh/events{/privacy}","received_events_url":"https://api.github.com/users/jaymzh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/ohai/labels/Signed%20CLA","name":"Signed CLA","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-17T18:16:29Z","updated_at":"2015-06-23T15:43:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/ohai/pulls/559","html_url":"https://github.com/chef/ohai/pull/559","diff_url":"https://github.com/chef/ohai/pull/559.diff","patch_url":"https://github.com/chef/ohai/pull/559.patch"},"body":"Benefits:\r\n* Can handle multiple virtual FSes with the same \"device\" (none)\r\n* Can handle a device mounted multiple places\r\n* Is resilient to mtab being a symlink to /proc/mounts\r\n* Provides multiple views for ease of use\r\n* Provides a mechanism that has gauranteed lack of overwritten data\r\n* Forks far fewer times than it's predecessor\r\n\r\nHow it works:\r\n\r\n* It provides 3 views:\r\n  * by_pair is the primary one and what most users are expected to use. It\r\n   gaurantees no loss of data from conflict and has an entry in the hash for\r\n   each pair of $device,$mountpoint (or \"$device,\" for unmounted devices).\r\n  * by_device a similar layout to the original filesystem plugin which is\r\n   indexed by device, except that 'mount' entry is now 'mounts' and is an array.\r\n   While this solves many of the problems users can encounter by having\r\n   /etc/mtab be a symlink to /proc/mounts it can still have data loss due to\r\n   different mount options, or multiple virtualfs mounts with the same fake\r\n   device name.\r\n  * by_mount similar to the above but indexed by mountpoint. Won't include\r\n   unmounted filesystems, of course."},"comment":{"url":"https://api.github.com/repos/chef/ohai/issues/comments/114551038","html_url":"https://github.com/chef/ohai/pull/559#issuecomment-114551038","issue_url":"https://api.github.com/repos/chef/ohai/issues/559","id":114551038,"user":{"login":"danielsdeleo","id":37162,"avatar_url":"https://avatars.githubusercontent.com/u/37162?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsdeleo","html_url":"https://github.com/danielsdeleo","followers_url":"https://api.github.com/users/danielsdeleo/followers","following_url":"https://api.github.com/users/danielsdeleo/following{/other_user}","gists_url":"https://api.github.com/users/danielsdeleo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsdeleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsdeleo/subscriptions","organizations_url":"https://api.github.com/users/danielsdeleo/orgs","repos_url":"https://api.github.com/users/danielsdeleo/repos","events_url":"https://api.github.com/users/danielsdeleo/events{/privacy}","received_events_url":"https://api.github.com/users/danielsdeleo/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T15:43:34Z","updated_at":"2015-06-23T15:43:34Z","body":"> two authors makes sense, not sure about two copyrights, is this what you had in mind?\r\nYep, I'm not a super expert on this, but the idea is you'd need consent from both copyright holders if you were to hypothetically relicense as GPL or something. tl;dr, this is good."}}