{"id":104794,"date":"2024-03-22T08:51:12","date_gmt":"2024-03-21T23:51:12","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/"},"modified":"2024-04-04T10:50:48","modified_gmt":"2024-04-04T01:50:48","slug":"linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/","title":{"rendered":"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5"},"content":{"rendered":"<p>Linux \u306b\u304a\u3044\u3066\u3001register_chrdev() \u95a2\u6570\u306f\u3001\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u767b\u9332\u3092\u884c\u3046\u3002\u305d\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-type\">int<\/span> <span class=\"hljs-title function_\">register_chrdev<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">unsigned<\/span> <span class=\"hljs-type\">int<\/span> major, <span class=\"hljs-type\">const<\/span> <span class=\"hljs-type\">char<\/span> *name, <span class=\"hljs-type\">const<\/span> <span class=\"hljs-keyword\">struct<\/span> file_operations *fops)<\/span>\r\n<\/code><\/pre>\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u8aac\u660e\uff1a<\/p>\n<ol>\n<li>major: \u30e1\u30b8\u30e3\u30fc\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u3067\u3001\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3092\u4e00\u610f\u306b\u8b58\u5225\u3059\u308b\u305f\u3081\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/li>\n<li>\u30c7\u30d0\u30a4\u30b9\u540d\u304c \/proc\/devices \u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>fops \u306f\u69cb\u9020\u4f53\uff08\u4e00\u822c\u7684\u306b\u306fstruct file_operations\uff09\u3067\u3001\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u64cd\u4f5c\u95a2\u6570\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u30ab\u30fc\u30cd\u30eb\u306b\u6587\u5b57\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3092\u767b\u9332\u3057\u3001\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u30c9\u30e9\u30a4\u30d0\u304c\u63d0\u4f9b\u3059\u308b\u6a5f\u80fd\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u95a2\u6570\u3067\u3059\u3002\u767b\u9332\u304c\u6210\u529f\u3059\u308b\u3068\u3001\u30e1\u30b8\u30e3\u30fc\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30d0\u30a4\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u767b\u9332\u306b\u6210\u529f\u3057\u305f\u5834\u5408\u3001\u95a2\u6570\u306f\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30e1\u30b8\u30e3\u30fc\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u3092\u8fd4\u3057\u307e\u3059\u3002\u767b\u9332\u306b\u5931\u6557\u3057\u305f\u5834\u5408\u3001\u95a2\u6570\u306f\u8ca0\u306e\u30a8\u30e9\u30fc\u30b3\u30fc\u30c9\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001register_chrdev() \u95a2\u6570\u3067\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3092\u767b\u9332\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;linux\/module.h&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;linux\/fs.h&gt;<\/span><\/span>\r\n\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">define<\/span> MAJOR_NUM 240<\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">define<\/span> DEVICE_NAME <span class=\"hljs-string\">\"my_device\"<\/span><\/span>\r\n\r\n<span class=\"hljs-type\">static<\/span> <span class=\"hljs-type\">int<\/span> <span class=\"hljs-title function_\">my_open<\/span><span class=\"hljs-params\">(<span class=\"hljs-keyword\">struct<\/span> inode *inode, <span class=\"hljs-keyword\">struct<\/span> file *file)<\/span>\r\n{\r\n    <span class=\"hljs-comment\">\/\/ \u6267\u884c\u6253\u5f00\u8bbe\u5907\u7684\u64cd\u4f5c<\/span>\r\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-number\">0<\/span>;\r\n}\r\n\r\n<span class=\"hljs-type\">static<\/span> <span class=\"hljs-type\">int<\/span> <span class=\"hljs-title function_\">my_release<\/span><span class=\"hljs-params\">(<span class=\"hljs-keyword\">struct<\/span> inode *inode, <span class=\"hljs-keyword\">struct<\/span> file *file)<\/span>\r\n{\r\n    <span class=\"hljs-comment\">\/\/ \u6267\u884c\u5173\u95ed\u8bbe\u5907\u7684\u64cd\u4f5c<\/span>\r\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-number\">0<\/span>;\r\n}\r\n\r\n<span class=\"hljs-type\">static<\/span> <span class=\"hljs-class\"><span class=\"hljs-keyword\">struct<\/span> <span class=\"hljs-title\">file_operations<\/span> <span class=\"hljs-title\">my_fops<\/span> =<\/span> {\r\n    .open = my_open,\r\n    .release = my_release,\r\n};\r\n\r\n<span class=\"hljs-type\">static<\/span> <span class=\"hljs-type\">int<\/span> __init <span class=\"hljs-title function_\">my_init<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">void<\/span>)<\/span>\r\n{\r\n    <span class=\"hljs-type\">int<\/span> ret;\r\n\r\n    <span class=\"hljs-comment\">\/\/ \u6ce8\u518c\u5b57\u7b26\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f<\/span>\r\n    ret = register_chrdev(MAJOR_NUM, DEVICE_NAME, &amp;my_fops);\r\n    <span class=\"hljs-keyword\">if<\/span> (ret &lt; <span class=\"hljs-number\">0<\/span>) {\r\n        printk(KERN_ALERT <span class=\"hljs-string\">\"Failed to register character device\\n\"<\/span>);\r\n        <span class=\"hljs-keyword\">return<\/span> ret;\r\n    }\r\n\r\n    printk(KERN_INFO <span class=\"hljs-string\">\"Character device registered with major number %d\\n\"<\/span>, ret);\r\n\r\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-number\">0<\/span>;\r\n}\r\n\r\n<span class=\"hljs-type\">static<\/span> <span class=\"hljs-type\">void<\/span> __exit <span class=\"hljs-title function_\">my_exit<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">void<\/span>)<\/span>\r\n{\r\n    <span class=\"hljs-comment\">\/\/ \u6ce8\u9500\u5b57\u7b26\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f<\/span>\r\n    unregister_chrdev(MAJOR_NUM, DEVICE_NAME);\r\n\r\n    printk(KERN_INFO <span class=\"hljs-string\">\"Character device unregistered\\n\"<\/span>);\r\n}\r\n\r\nmodule_init(my_init);\r\nmodule_exit(my_exit);\r\n\r\nMODULE_LICENSE(<span class=\"hljs-string\">\"GPL\"<\/span>);\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001my_open()\u3068my_release()\u95a2\u6570\u306b\u3088\u3063\u3066\u30c7\u30d0\u30a4\u30b9\u3092\u30aa\u30fc\u30d7\u30f3\u30fb\u30af\u30ed\u30fc\u30ba\u3059\u308b\u64cd\u4f5c\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001my_fops\u69cb\u9020\u4f53\u306b\u3088\u3063\u3066\u30c7\u30d0\u30a4\u30b9\u306e\u64cd\u4f5c\u95a2\u6570\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u521d\u671f\u5316\u95a2\u6570 my_init() \u5185\u3067 register_chrdev() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3092\u767b\u9332\u3057\u307e\u3059\u3002\u767b\u9332\u306b\u6210\u529f\u3059\u308c\u3070\u767b\u9332\u3057\u305f\u30e1\u30b8\u30e3\u30fc\u756a\u53f7\u3092\u51fa\u529b\u3057\u3001\u5931\u6557\u3059\u308c\u3070\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u7d42\u4e86\u95a2\u6570 my_exit() \u5185\u3067\u3001unregister_chrdev() \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u3092\u767b\u9332\u89e3\u9664\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u306b\u304a\u3044\u3066\u3001register_chrdev() \u95a2\u6570\u306f\u3001\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u767b\u9332\u3092\u884c\u3046\u3002\u305d\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002 int register_chrdev(unsigned int major, c [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-104794","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/linux-\u306b\u304a\u3051\u308b-register_chrdev-\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Linux \u306b\u304a\u3044\u3066\u3001register_chrdev() \u95a2\u6570\u306f\u3001\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u767b\u9332\u3092\u884c\u3046\u3002\u305d\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002 int register_chrdev(unsigned int major, c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/linux-\u306b\u304a\u3051\u308b-register_chrdev-\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-21T23:51:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-04T01:50:48+00:00\" \/>\n<meta name=\"author\" content=\"\u590f\u6a39, \u98a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u590f\u6a39, \u98a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/\",\"name\":\"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-21T23:51:12+00:00\",\"dateModified\":\"2024-04-04T01:50:48+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\",\"name\":\"\u590f\u6a39, \u98a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"caption\":\"\u590f\u6a39, \u98a8\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/linux-\u306b\u304a\u3051\u308b-register_chrdev-\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5","og_description":"Linux \u306b\u304a\u3044\u3066\u3001register_chrdev() \u95a2\u6570\u306f\u3001\u30ad\u30e3\u30e9\u30af\u30bf\u30c7\u30d0\u30a4\u30b9\u30c9\u30e9\u30a4\u30d0\u306e\u767b\u9332\u3092\u884c\u3046\u3002\u305d\u306e\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002 int register_chrdev(unsigned int major, c [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/linux-\u306b\u304a\u3051\u308b-register_chrdev-\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-21T23:51:12+00:00","article_modified_time":"2024-04-04T01:50:48+00:00","author":"\u590f\u6a39, \u98a8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u590f\u6a39, \u98a8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/","name":"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-21T23:51:12+00:00","dateModified":"2024-04-04T01:50:48+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Linux \u306b\u304a\u3051\u308b register_chrdev \u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d","name":"\u590f\u6a39, \u98a8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","caption":"\u590f\u6a39, \u98a8"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/linux-%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b-register_chrdev-%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/104794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=104794"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/104794\/revisions"}],"predecessor-version":[{"id":271126,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/104794\/revisions\/271126"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=104794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=104794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=104794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}