{"author_url":"https://blog.hatena.ne.jp/iww/","published":"2019-07-04 08:13:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20190704%2Fudev_StopWhenUnneeded\" title=\" udev\u3067\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u52d5\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8d77\u52d5\u3059\u308b 3 - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://iww.hateblo.jp/","url":"https://iww.hateblo.jp/entry/20190704/udev_StopWhenUnneeded","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","categories":["Linux"],"image_url":null,"height":"190","width":"100%","title":" udev\u3067\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u52d5\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8d77\u52d5\u3059\u308b 3","provider_url":"https://hatena.blog","author_name":"iww","type":"rich","version":"1.0","description":"USB\u6a5f\u5668\u3092\u633f\u3057\u305f\u5951\u6a5f\u3067\u3001\u3061\u3087\u3063\u3068\u6642\u9593\u306e\u304b\u304b\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u3067\u8d77\u52d5\u3057\u305f\u3044\u3002 \u307e\u305f\u3001\u629c\u3051\u305f\u3089\u629c\u3051\u305f\u3067\u4f55\u304b\u8d77\u52d5\u3057\u305f\u3044\u3002 /etc/udev/rules.d/99-local-usb.rules # USB\u6a5f\u5668\u304c\u523a\u3055\u3063\u305f\u3089\u306a\u3093\u304b\u3059\u308b ACTION==\"add\", SUBSYSTEM==\"usb\", ENV{DEVTYPE}==\"usb_device\", TAG+=\"systemd\", ENV{SYSTEMD_WANTS}+=\"hoge@%E{DEVPATH}.service\" /etc/systemd/system/hoge@.service [Unit] Description=HO\u2026","provider_name":"Hatena Blog"}