{"comment":{"url":"https://api.github.com/repos/WenhuaChang/perl-bootloader/comments/9437776","html_url":"https://github.com/WenhuaChang/perl-bootloader/commit/b725e498321ed47710732f07d1d417cb74c4d844#commitcomment-9437776","id":9437776,"user":{"login":"wfeldt","id":927244,"avatar_url":"https://avatars.githubusercontent.com/u/927244?v=3","gravatar_id":"","url":"https://api.github.com/users/wfeldt","html_url":"https://github.com/wfeldt","followers_url":"https://api.github.com/users/wfeldt/followers","following_url":"https://api.github.com/users/wfeldt/following{/other_user}","gists_url":"https://api.github.com/users/wfeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/wfeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wfeldt/subscriptions","organizations_url":"https://api.github.com/users/wfeldt/orgs","repos_url":"https://api.github.com/users/wfeldt/repos","events_url":"https://api.github.com/users/wfeldt/events{/privacy}","received_events_url":"https://api.github.com/users/wfeldt/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"b725e498321ed47710732f07d1d417cb74c4d844","created_at":"2015-01-26T10:16:28Z","updated_at":"2015-01-26T10:16:28Z","body":"This will not work on devices like /dev/cciss/c0d0 which map to /sys/block/cciss!c0d0.\r\n\r\n$sys_dev =~ s#^/dev/#; \r\n$sys_dev =~ s#/#!#;\r\n$sys_dev = \"/sys/block/$sys_dev\";\r\n"}}