{"author_name":"shimada-k","blog_title":"shimada-k\u306e\u65e5\u8a18","blog_url":"https://shimada-k.hateblo.jp/","published":"2011-07-25 09:46:25","provider_name":"Hatena Blog","description":"\u30ab\u30fc\u30cd\u30ebhack\u3067\u4f7f\u3063\u3066\u3044\u305f\u30b7\u30b9\u30c6\u30e0\u3092procfs\u304b\u3089sysfs\u306b\u5207\u308a\u66ff\u3048\u307e\u3057\u305f\u3002\u4eee\u60f3\u30d5\u30a1\u30a4\u30eb\u306fget_seconds()\u95a2\u6570\u3092\u4f7f\u3063\u3066epoch\u6642\u9593\u3092\u8868\u793a\u3055\u305b\u308b\u3082\u306e\u3092\u7528\u610f\u3057\u307e\u3057\u305f\u3002\u305d\u308c\u3092\u884c\u3046\u306e\u304c\u4ee5\u4e0b\u306e\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002epoch_sysfs.c #include <linux/kobject.h> #include <linux/string.h> #include <linux/sysfs.h> #include <linux/module.h> #include <linux/init.h> static struct kobject *epoch_kobj; static ssiz\u2026","version":"1.0","height":"190","title":"\u4eee\u60f3FS\u306fsysfs\u3092\u4f7f\u304a\u3046","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/s/shimada-k/20110725/20110725092314.png","width":"100%","url":"https://shimada-k.hateblo.jp/entry/20110725/1311554785","type":"rich","categories":["Linux\u30ab\u30fc\u30cd\u30eb","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshimada-k.hateblo.jp%2Fentry%2F20110725%2F1311554785\" title=\"\u4eee\u60f3FS\u306fsysfs\u3092\u4f7f\u304a\u3046 - shimada-k\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/shimada-k/"}