<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HANZUBON.jp &#187; Linux</title>
	<atom:link href="http://hanzubon.jp/node/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://hanzubon.jp</link>
	<description>いたってモヤモヤする感じの記録?</description>
	<lastBuildDate>Thu, 12 Aug 2010 14:16:58 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://hanzubon.jp/?pushpress=hub'/>
		<item>
		<title>debian-volatile mirror 復活</title>
		<link>http://hanzubon.jp/node/5137</link>
		<comments>http://hanzubon.jp/node/5137#comments</comments>
		<pubDate>Fri, 07 May 2010 09:40:20 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian-volatile]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[mirror]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=5137</guid>
		<description><![CDATA[なんか どーも push signal こねぇな と思ってたら、ルータで塞いでいました&#8230;orz ということで、signal くるのを確認したので復活したはず。 どーも すいません(わら]]></description>
			<content:encoded><![CDATA[<p>なんか どーも push signal こねぇな と思ってたら、ルータで塞いでいました&#8230;orz</p>
<p>ということで、signal くるのを確認したので復活したはず。</p>
<p>どーも すいません(わら</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/5137/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>たんきよ忘年会2009</title>
		<link>http://hanzubon.jp/node/4976</link>
		<comments>http://hanzubon.jp/node/4976#comments</comments>
		<pubDate>Sun, 20 Dec 2009 02:22:47 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[くいもん]]></category>
		<category><![CDATA[くいもん＆のみもん]]></category>
		<category><![CDATA[たんきよ]]></category>
		<category><![CDATA[焼肉]]></category>
		<category><![CDATA[忘年会]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/node/4976</guid>
		<description><![CDATA[昨日は、たんきよで毎年恒例の忘年会でした。 久しぶりの参加のひともちらほら、新しく参加の人も何人か。 うかいさんのおくさんに初めて会いましたが、なかなか面白い人でした。 その後、nnnの知ってる店に だいすけ、まくつ、nnn、ならき、オレという感じで移動して二次会?で終電前に解散。 これが終わると、なんだかようやく年末が近づいてきた気がします。]]></description>
			<content:encoded><![CDATA[<p>昨日は、たんきよで毎年恒例の忘年会でした。</p>
<p>久しぶりの参加のひともちらほら、新しく参加の人も何人か。<br />
うかいさんのおくさんに初めて会いましたが、なかなか面白い人でした。</p>
<p>その後、nnnの知ってる店に だいすけ、まくつ、nnn、ならき、オレという感じで移動して二次会?で終電前に解散。</p>
<p>これが終わると、なんだかようやく年末が近づいてきた気がします。</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/4976/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux software raid (md)にon lineでデバイスを追加してサイズを拡大してみる</title>
		<link>http://hanzubon.jp/node/4936</link>
		<comments>http://hanzubon.jp/node/4936#comments</comments>
		<pubDate>Wed, 23 Sep 2009 06:17:58 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[md]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[on line resize]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=4936</guid>
		<description><![CDATA[Linux Software RAID (md)の onlie resizeの続編的ですが。 このmdは紆余曲折あって(?)現在は1TB HDD 5本でRAID5(スペアなし)という構成になっています。 が、なんとなく若干手狭な感じが出てきました(debian の iso imageにBDとか入ってきた せいか、油断するとあふれることが&#8230;) そこで、少し前からkernelでサポートされた「mdにデバイスを追加してでかくしてみる」ことを してみましょう。1TBを5本→1TBを6本の構成にしてみます。 最初はこんな感じ。 $ lsscsi [6:0:0:0] disk ATA WDC WD740GD-00FL 21.0 /dev/sda [8:0:0:0] disk ATA WDC WD10EACS-22D 01.0 /dev/sdb [11:0:0:0] disk ATA WDC WD10EACS-22D 01.0 /dev/sdc [13:0:0:0] disk ATA WDC WD10EACS-22D 01.0 /dev/sdd [14:0:0:0] disk ATA WDC WD10EACS-22D 01.0 /dev/sde [16:0:0:0] [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hanzubon.jp/node/231">Linux Software RAID (md)の onlie resize</a>の続編的ですが。</p>
<p>このmdは紆余曲折あって(?)現在は1TB HDD 5本でRAID5(スペアなし)という構成になっています。</p>
<p>が、なんとなく若干手狭な感じが出てきました(debian の iso imageにBDとか入ってきた<br />
せいか、油断するとあふれることが&#8230;)</p>
<p>そこで、少し前からkernelでサポートされた「mdにデバイスを追加してでかくしてみる」ことを<br />
してみましょう。1TBを5本→1TBを6本の構成にしてみます。</p>
<p>最初はこんな感じ。</p>
<pre>
$ lsscsi
[6:0:0:0]    disk    ATA      WDC WD740GD-00FL 21.0  /dev/sda
[8:0:0:0]    disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdb
[11:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdc
[13:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdd
[14:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sde
[16:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdf
[18:0:0:0]   cd/dvd  Optiarc  DVD RW AD-7170A  1.02  /dev/sr0
</pre>
<pre>
$ df /storage
Filesystem           1K-ブロック    使用   使用可 使用% マウント位置
/dev/md0             3845731848 3078934784 766797064  81% /storage
$ df -h /storage
Filesystem          サイズ  使用  残り 使用% マウント位置
/dev/md0              3.6T  2.9T  732G  81% /storage
</pre>
<pre>
$ sudo mdadm --misc --detail /dev/md0
/dev/md0:
        Version : 0.90
  Creation Time : Fri Oct 17 21:15:30 2008
     Raid Level : raid5
     Array Size : 3907039744 (3726.04 GiB 4000.81 GB)
  Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
   Raid Devices : 5
  Total Devices : 5
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Sep 22 08:58:55 2009
          State : clean
 Active Devices : 5
Working Devices : 5
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 7b919d4f:b9e7742c:84bd942a:d4b8378f
         Events : 0.19904

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8       49        1      active sync   /dev/sdd1
       2       8       17        2      active sync   /dev/sdb1
       3       8       81        3      active sync   /dev/sdf1
       4       8       65        4      active sync   /dev/sde1
</pre>
<p>HDDはSATA/SASのエンクロージャに全部ささってますし、最近のSATAの<br />
デバイスであれば(少なくともahciの一部、sata_sil24、sata_mvはOk)hot plugで<br />
つなげば認識してくれるので、無造作に(物理的に)HDDをさして認識させます。</p>
<pre>
$lsscsi
[6:0:0:0]    disk    ATA      WDC WD740GD-00FL 21.0  /dev/sda
[8:0:0:0]    disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdb
[11:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdc
[13:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdd
[14:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sde
[15:0:0:0]   disk    ATA      WDC WD10EADS-00M 01.0  /dev/sdg
[16:0:0:0]   disk    ATA      WDC WD10EACS-22D 01.0  /dev/sdf
</pre>
<p>/dev/sdgが増えました。</p>
<p>fdisk とかでパーティションを一つだけ切って、タイプを Linux raid autodetect<br />
(0xfd)にしときます。</p>
<pre>
$ fdisk -l /dev/sdg

Disk /dev/sdg: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfec868df

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1               1      121601   976760001   fd  Linux raid autodetect
</pre>
<p>次にmdにこのHDDを追加します。</p>
<pre>
$ sudo mdadm /dev/md0 --add /dev/sdg1
mdadm: added /dev/sdg1
$ sudo mdadm --misc --detail /dev/md0
/dev/md0:
        Version : 0.90
  Creation Time : Fri Oct 17 21:15:30 2008
     Raid Level : raid5
     Array Size : 3907039744 (3726.04 GiB 4000.81 GB)
  Used Dev Size : 976759936 (931.51 GiB 1000.20 GB)
   Raid Devices : 5
  Total Devices : 6
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Tue Sep 22 09:08:50 2009
          State : clean
 Active Devices : 5
Working Devices : 6
 Failed Devices : 0
  Spare Devices : 1

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 7b919d4f:b9e7742c:84bd942a:d4b8378f
         Events : 0.19909

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8       49        1      active sync   /dev/sdd1
       2       8       17        2      active sync   /dev/sdb1
       3       8       81        3      active sync   /dev/sdf1
       4       8       65        4      active sync   /dev/sde1

       5       8       97        -      spare   /dev/sdg1
$ cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sdg1[5](S) sdc1[0] sde1[4] sdf1[3] sdb1[2] sdd1[1]
      3907039744 blocks level 5, 64k chunk, algorithm 2 [5/5] [UUUUU]

unused devices: <none>
</pre>
<p>こんな感じでスペアとして追加されます。</p>
<p>でもって、RAIDデバイスの数を変更します。<br />
変更には mdadmの &#8211;grow オプションと &#8211;raid-devicesを組み合わせて指定します。</p>
<pre>
$ sudo mdadm /dev/md0 --grow --raid-devices=6
mdadm: Need to backup 1280K of critical section..
mdadm: ... critical section passed.
</pre>
<p>ここまでは、とりあえず数秒で終了します。</p>
<p>で、ここからRAIDの再構成が行われますがこれがものすごく時間がかかるので<br />
気長に待ちましょう。</p>
<pre>
$ cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sdg1[5] sdc1[0] sde1[4] sdf1[3] sdb1[2] sdd1[1]
      3907039744 blocks super 0.91 level 5, 64k chunk, algorithm 2 [6/6] [UUUUUU]
      [>....................]  reshape =  0.0% (279424/976759936) finish=1951.8min speed=8337K/sec

unused devices: <none>
</pre>
<p>mdのサイズにもよると思いますが、今回のサイズだと丸一日はかかるつもりで<br />
いないとダメです(わら</p>
<p>この間もmdデバイスはon lineなので、通常どおり使用できます(が、まぁ今回の構成だと<br />
このrebuild中にHDD一本でも死ぬとアウトなわけですが(わら 基本ここにはmirrorしか<br />
入って無いので最悪死んでも復元できるので気にしない。もちろん用途によっては、<br />
もう少し冗長性をとりましょう)</p>
<p>ただし、このrebuildが終わらないと「mdとしてのサイズが以前のまま(デバイス追加<br />
する以前のサイズのまま)」なので、以下のファイルシステムのresizeはできません。</p>
<p>でもって、rebuildが終わったのを確認したら、ファイルシステムをresizeします。</p>
<pre>
$ sudo resize2fs /dev/md0
resize2fs 1.41.9 (22-Aug-2009)
Filesystem at /dev/md0 is mounted on /storage; on-line resizing required
old desc_blocks = 233, new_desc_blocks = 292
Performing an on-line resize of /dev/md0 to 1220949920 (4k) blocks.
</pre>
<p>これも容量によると思いますが、30分くらい待つと完了。</p>
<pre>
$ df /storage
Filesystem           1K-ブロック    使用   使用可 使用% マウント位置
/dev/md0             4807165280 3089638432 1717526848  65% /storage
$ df -h /storage
Filesystem          サイズ  使用  残り 使用% マウント位置
/dev/md0              4.5T  2.9T  1.6T  65% /storage
</pre>
<p>ほい、できました。</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/4936/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rsync の &#8211;delay-updatesを拡張(したい)</title>
		<link>http://hanzubon.jp/node/4911</link>
		<comments>http://hanzubon.jp/node/4911#comments</comments>
		<pubDate>Sat, 18 Apr 2009 17:52:35 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[ミラー]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=4911</guid>
		<description><![CDATA[Debian mirrorの更新って、ミラー中もアクセスしても整合性がとれてるように、 ざっくりいうと次みたいな流れになっている。 pool/以下を&#8211;deleteなしでrsync 全体を&#8211;after-deleteありrsync (正確には dists/以下の特定パターンのファイルがあとで更新されること、 ファイルの削除が最後に消されることが条件だけど、まぁ細かいことは 考えなくてもいい、ここでは) で、なにが言いたいかいうと、結局都合2回rsyncがかかるのと、1回目と2回目に 同じディレクトリのトラバーサルが走るので、まぁなんつーか若干効率が悪い わけです。 でだ、一方 rsync には &#8211;deley-updates というオプションがあります。 これは取り合えずファイルを別の位置にどばーっととってきておいて、 実際のファイルの更新は最後にまとめてやりますよ というオプション。 一般的にリモートからローカルの転送には時間がかかるけど、ローカルでの renameは比較的短時間で済むので、ツリー全体の不整合な時間を ある程度減らせますよ というためのものですね(もちろん、atmicには なりません)。 でね、この &#8211;deley-updatesオプションの動作を拡張するなり、 別のオプション(例えば &#8211;deley-update-patternとかいうオプション を新設がいいんじゃね? という気がしている)して、「指定したパターンに 合致したファイル/ディレクトリのみ、delay-update する」とかできると、 Debian mirror 的には rsync 一発でいけるようになるので、ちょっと うれしいんじゃねぇか? とか思いました。 誰かやる人?(わら (自分でやれといわれそうだな(わら)]]></description>
			<content:encoded><![CDATA[<p>Debian mirrorの更新って、ミラー中もアクセスしても整合性がとれてるように、<br />
ざっくりいうと次みたいな流れになっている。</p>
<ol>
<li>pool/以下を&#8211;deleteなしでrsync</li>
<li>全体を&#8211;after-deleteありrsync</li>
</ol>
<p>(正確には dists/以下の特定パターンのファイルがあとで更新されること、<br />
ファイルの削除が最後に消されることが条件だけど、まぁ細かいことは<br />
考えなくてもいい、ここでは)</p>
<p>で、なにが言いたいかいうと、結局都合2回rsyncがかかるのと、1回目と2回目に<br />
同じディレクトリのトラバーサルが走るので、まぁなんつーか若干効率が悪い<br />
わけです。</p>
<p>でだ、一方 rsync には &#8211;deley-updates というオプションがあります。</p>
<p>これは取り合えずファイルを別の位置にどばーっととってきておいて、<br />
実際のファイルの更新は最後にまとめてやりますよ というオプション。</p>
<p>一般的にリモートからローカルの転送には時間がかかるけど、ローカルでの<br />
renameは比較的短時間で済むので、ツリー全体の不整合な時間を<br />
ある程度減らせますよ というためのものですね(もちろん、atmicには<br />
なりません)。</p>
<p>でね、この &#8211;deley-updatesオプションの動作を拡張するなり、<br />
別のオプション(例えば &#8211;deley-update-patternとかいうオプション<br />
を新設がいいんじゃね? という気がしている)して、「指定したパターンに<br />
合致したファイル/ディレクトリのみ、delay-update する」とかできると、<br />
Debian mirror 的には rsync 一発でいけるようになるので、ちょっと<br />
うれしいんじゃねぇか? とか思いました。</p>
<p>誰かやる人?(わら<br />
(自分でやれといわれそうだな(わら)</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/4911/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian-cdミラー帯域制限</title>
		<link>http://hanzubon.jp/node/4908</link>
		<comments>http://hanzubon.jp/node/4908#comments</comments>
		<pubDate>Sat, 21 Feb 2009 17:09:03 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ミラー]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[帯域制限]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=4908</guid>
		<description><![CDATA[debian-cdのミラーからisoをhttpで持ってくアクセスがけっこう多くて、なかなかきびしいので 「大きめのisoイメージ(100M程度にしたつもり)」 を 「httpで」 取得しようとした場合のみ大幅に帯域しぼられるように調整しました。 とるならrsyncで取ってね。]]></description>
			<content:encoded><![CDATA[<p>debian-cdのミラーからisoをhttpで持ってくアクセスがけっこう多くて、なかなかきびしいので</p>
<p>「大きめのisoイメージ(100M程度にしたつもり)」</p>
<p>を</p>
<p>「httpで」</p>
<p>取得しようとした場合のみ大幅に帯域しぼられるように調整しました。</p>
<p>とるならrsyncで取ってね。</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/4908/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian 5.0 released</title>
		<link>http://hanzubon.jp/node/4897</link>
		<comments>http://hanzubon.jp/node/4897#comments</comments>
		<pubDate>Mon, 16 Feb 2009 12:59:52 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[5.0]]></category>
		<category><![CDATA[リリース]]></category>
		<category><![CDATA[BD]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=4897</guid>
		<description><![CDATA[てことで Debian 5.0.0 (aka &#8216;lenny&#8217;)出ました。 あちこちにかかれてるので、あんまり書くこともないけど(わら とりあえず、インストール用のiso イメージは以下に生成中(2/16 22:00現在、まだhppaを作ってる様子)。でも よっぽどのことが なきゃ jigdo 使って作ってね。 http://hanzubon.jp/debian-cd/5.0.0/ ちなみに amd64/i386/sourcesあたりは BD イメージも提供されるようになってるけど、 -rw-r--r-- 1 ftpadm ftpadm 19G 2009-02-16 17:21 debian-500-amd64-BD-1.iso さすがに1枚組(ソースもあるので2枚か)らしい。 あと、今回から Live image も提供されるので、そいつらはここ。 http://hanzubon.jp/debian-cd/5.0.0-live/]]></description>
			<content:encoded><![CDATA[<p>てことで Debian 5.0.0 (aka &#8216;lenny&#8217;)出ました。</p>
<p>あちこちにかかれてるので、あんまり書くこともないけど(わら</p>
<p>とりあえず、インストール用のiso イメージは以下に生成中(2/16 22:00現在、まだhppaを作ってる様子)。でも よっぽどのことが<br />
なきゃ jigdo 使って作ってね。</p>
<p><a href="http://hanzubon.jp/debian-cd/5.0.0/">http://hanzubon.jp/debian-cd/5.0.0/</a></p>
<p>ちなみに amd64/i386/sourcesあたりは BD イメージも提供されるようになってるけど、</p>
<pre>
-rw-r--r-- 1 ftpadm ftpadm 19G 2009-02-16 17:21 debian-500-amd64-BD-1.iso
</pre>
<p>さすがに1枚組(ソースもあるので2枚か)らしい。</p>
<p>あと、今回から Live image も提供されるので、そいつらはここ。</p>
<p><a href="http://hanzubon.jp/debian-cd/5.0.0-live/">http://hanzubon.jp/debian-cd/5.0.0-live/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/4897/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>たんきよ忘年会(毎年恒例)</title>
		<link>http://hanzubon.jp/node/4885</link>
		<comments>http://hanzubon.jp/node/4885#comments</comments>
		<pubDate>Fri, 26 Dec 2008 14:56:54 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[くいもん＆のみもん]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=4885</guid>
		<description><![CDATA[ということで、今日は毎年恒例のたんきよ忘年会でした。 毎度のごとく食いすぎです(わら いやー、なんつかね やっぱ楽しい。]]></description>
			<content:encoded><![CDATA[<p>ということで、今日は毎年恒例のたんきよ忘年会でした。</p>
<p>毎度のごとく食いすぎです(わら</p>
<p>いやー、なんつかね やっぱ楽しい。</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/4885/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Emacs23</title>
		<link>http://hanzubon.jp/node/282</link>
		<comments>http://hanzubon.jp/node/282#comments</comments>
		<pubDate>Fri, 05 Dec 2008 15:40:58 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[misc]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[emacs]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=282</guid>
		<description><![CDATA[なんだか、やおら まわりが Emacs23 ぶーむ(?)のようなので、乗っかってみた。 えーと binary は http://emacs.orebokech.com/ ここのを使いました(emacs-snapshotね) Xftエンジンがディフォルトではoffられてるようなので、.Xresourcesに Emacs.FontBackend: xft とか追加。 で、Emacs lispで設定する方法はなにやらあちことに書いてあるけど、 「Emacs が起動した後にうにょっとなる(ウィンドサイズがリサイズされる)のが嫌い」 派なので(わら ディフォルトフォントも Xresourcesで指定してみるってことで、以下を追加。 Emacs.font: VL Gothic-9 -9 んとこは、サイズのようなので各自調整してください。 でもって、起動、にゃるほど。 で、細かい調整をXresourcesでやるほど根性ないので(わら あとはelispで。 (set-default-font "VL Gothic-9") (set-fontset-font (frame-parameter nil 'font) 'japanese-jisx0208 '("VL Gothic-9" . "unicode-bmp")) (set-fontset-font (frame-parameter nil 'font) 'katakana-jisx0201 '("VL Gothic-9" . "unicode-bmp")) (set-fontset-font (frame-parameter nil 'font) 'ascii '("VL [...]]]></description>
			<content:encoded><![CDATA[<p>なんだか、やおら まわりが Emacs23 ぶーむ(?)のようなので、乗っかってみた。</p>
<p>えーと binary は</p>
<p>http://emacs.orebokech.com/</p>
<p>ここのを使いました(emacs-snapshotね)</p>
<p>Xftエンジンがディフォルトではoffられてるようなので、.Xresourcesに</p>
<pre>Emacs.FontBackend: xft</pre>
<p>とか追加。</p>
<p>で、Emacs lispで設定する方法はなにやらあちことに書いてあるけど、<br />
「Emacs が起動した後にうにょっとなる(ウィンドサイズがリサイズされる)のが嫌い」<br />
派なので(わら ディフォルトフォントも Xresourcesで指定してみるってことで、以下を追加。</p>
<pre>Emacs.font: VL Gothic-9</pre>
<p>-9 んとこは、サイズのようなので各自調整してください。</p>
<p>でもって、起動、にゃるほど。</p>
<p>で、細かい調整をXresourcesでやるほど根性ないので(わら<br />
あとはelispで。</p>
<pre>(set-default-font "VL Gothic-9")
(set-fontset-font (frame-parameter nil 'font)
                  'japanese-jisx0208
                  '("VL Gothic-9" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
                  'katakana-jisx0201
                  '("VL Gothic-9" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
                  'ascii
                  '("VL Gothic-9" . "unicode-bmp"))
(set-fontset-font (frame-parameter nil 'font)
                  'unicode
                  '("VL Gothic-9" . "unicode-bmp"))</pre>
<p>set-default-font はXresourcesで設定したものと重複です(Xresourcesで<br />
設定してる場合は必要ないですが、まぁ一応例示ってことでここには書きました)。</p>
<p>他も、まぁこの例だとあんまり意味ないですが、想像力を働かせて<br />
どういう意味かは推して知ってください(わら</p>
<p>なんかこんな感じ、あんまわからんと思うけども。</p>
<p><img class="alignnone" src="http://hanzubon.jp/images/emacs23.png" alt="Emacs23" /></p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/282/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FOMAのlsusbの結果</title>
		<link>http://hanzubon.jp/node/281</link>
		<comments>http://hanzubon.jp/node/281#comments</comments>
		<pubDate>Wed, 29 Oct 2008 04:15:28 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[FOMA]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=281</guid>
		<description><![CDATA[FOMAのlsusbの結果を募集してるらしい。 https://sourceforge.jp/people/viewjob.php?group_id=3820&#038;job_id=240 他のキャリアんのはどう見えるんだろ?]]></description>
			<content:encoded><![CDATA[<p>FOMAのlsusbの結果を募集してるらしい。</p>
<p><a href="https://sourceforge.jp/people/viewjob.php?group_id=3820&#038;job_id=240">https://sourceforge.jp/people/viewjob.php?group_id=3820&#038;job_id=240</a></p>
<p>他のキャリアんのはどう見えるんだろ?</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/281/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HANZUBON.jp mirror 停止予告</title>
		<link>http://hanzubon.jp/node/280</link>
		<comments>http://hanzubon.jp/node/280#comments</comments>
		<pubDate>Thu, 16 Oct 2008 16:41:55 +0000</pubDate>
		<dc:creator>ishikawa</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cdn.debian.org]]></category>
		<category><![CDATA[mirror]]></category>
		<category><![CDATA[RAID]]></category>

		<guid isPermaLink="false">http://hanzubon.jp/?p=280</guid>
		<description><![CDATA[えと、容量が手狭になってきてるのとlennyのリリースが近いということになってる ので、たぶん今週末 HANZUBON.jp の mirror の HDD 入れ替えてRAID再構成します (RAID組んでる台数の変更すんので、一旦ごっそりデータ退避します)。 若干 というか、データ戻すのにそれなりに時間かかるので、mirror まわり けっこうな時間使えなくなる可能性がありますが&#8230; ともかく、そういうことでよろしく。]]></description>
			<content:encoded><![CDATA[<p>えと、容量が手狭になってきてるのとlennyのリリースが近いということになってる<br />
ので、たぶん今週末 HANZUBON.jp の mirror の HDD 入れ替えてRAID再構成します<br />
(RAID組んでる台数の変更すんので、一旦ごっそりデータ退避します)。</p>
<p>若干 というか、データ戻すのにそれなりに時間かかるので、mirror まわり<br />
けっこうな時間使えなくなる可能性がありますが&#8230;</p>
<p>ともかく、そういうことでよろしく。</p>
]]></content:encoded>
			<wfw:commentRss>http://hanzubon.jp/node/280/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
