{"id":377,"date":"2014-07-31T10:30:38","date_gmt":"2014-07-31T01:30:38","guid":{"rendered":"http:\/\/blog.ymyzk.com\/?p=377"},"modified":"2015-09-19T08:22:41","modified_gmt":"2015-09-18T23:22:41","slug":"debian-disable-tty","status":"publish","type":"post","link":"https:\/\/blog.ymyzk.com\/2014\/07\/debian-disable-tty\/","title":{"rendered":"Debian \u3067\u4e0d\u8981\u306a tty \u3092\u7121\u52b9\u5316\u3057\u3066\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u524a\u6e1b\u3059\u308b"},"content":{"rendered":"

Debian wheezy \u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 6 \u3064\u306e\u4eee\u60f3\u30b3\u30f3\u30bd\u30fc\u30eb tty (getty) \u304c\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059. \u3053\u308c\u3089\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u5c11\u91cf\u305a\u3064\u3067\u3059\u304c\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3059\u308b\u305f\u3081, Raspberry Pi \u306a\u3069\u306e\u30e1\u30e2\u30ea\u30b5\u30a4\u30ba\u304c\u5c0f\u3055\u3044\u30c7\u30d0\u30a4\u30b9\u3084, \u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u7b49\u3067\u306f tty \u306e\u6570\u3092\u6e1b\u3089\u3059\u3053\u3068\u3067, \u30e1\u30e2\u30ea\u306e\u52b9\u7387\u7684\u306a\u5229\u7528\u304c\u671f\u5f85\u3055\u308c\u307e\u3059.<\/p>\n

\"tty\"<\/a><\/p>\n

<\/p>\n

\u74b0\u5883<\/h2>\n

Debian 7.6 wheezy \u306b\u3066\u30c6\u30b9\u30c8\u3057\u3066\u3044\u307e\u3059.<\/p>\n

\u624b\u9806<\/h2>\n

\/etc\/inittab \u3092\u958b\u304d, \u7121\u52b9\u5316\u3057\u305f\u3044 tty \u306e\u884c\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059. \u3053\u3053\u3067\u306f tty3 \u301c tty6 \u3092\u7121\u52b9\u5316\u3057\u307e\u3059.<\/p>\n

\r\n1:2345:respawn:\/sbin\/getty 38400 tty1\r\n2:23:respawn:\/sbin\/getty 38400 tty2\r\n#3:23:respawn:\/sbin\/getty 38400 tty3\r\n#4:23:respawn:\/sbin\/getty 38400 tty4\r\n#5:23:respawn:\/sbin\/getty 38400 tty5\r\n#6:23:respawn:\/sbin\/getty 38400 tty6\r\n<\/pre>\n

\u6b21\u306b \/etc\/default\/console-setup \u3092\u7de8\u96c6\u3057\u307e\u3059. ACTIVE_CONSOLES \u3092\u5148\u307b\u3069\u306e\u8a2d\u5b9a\u306b\u5408\u308f\u305b\u3066\u5909\u66f4\u3057\u307e\u3059.<\/p>\n

\r\n# Setup these consoles.  Most people do not need to change this.\r\n#ACTIVE_CONSOLES="\/dev\/tty[1-6]"\r\nACTIVE_CONSOLES="\/dev\/tty[1-2]"\r\n<\/pre>\n

\u518d\u8d77\u52d5\u3057\u3066\u5909\u66f4\u7d50\u679c\u3092\u78ba\u8a8d\u3057\u307e\u3059. top \u30b3\u30de\u30f3\u30c9\u306a\u3069\u3092\u4f7f\u3048\u3070, getty \u30d7\u30ed\u30bb\u30b9\u306e\u6570\u304c\u6e1b\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u308b\u306f\u305a\u3067\u3059.<\/p>\n","protected":false},"excerpt":{"rendered":"

Debian wheezy \u3067\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 6 \u3064\u306e\u4eee\u60f3\u30b3\u30f3\u30bd\u30fc\u30eb tty (getty) \u304c\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059. \u3053\u308c\u3089\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u5c11\u91cf\u305a\u3064\u3067\u3059\u304c\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3059\u308b\u305f\u3081, Raspberry Pi \u306a\u3069\u306e\u30e1\u30e2\u30ea […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[16],"_links":{"self":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/377"}],"collection":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":8,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/377\/revisions"}],"predecessor-version":[{"id":1077,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/posts\/377\/revisions\/1077"}],"wp:attachment":[{"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/categories?post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ymyzk.com\/wp-json\/wp\/v2\/tags?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}