2010-06-25 :-(
_ 朝ッ
0520 起床
_ 自分探しのたび
こんな感じで google で検索すればいい
site:togetter.com miwarin
site:2ch.net miwarin
site:2ch.net "ANS" リッジレーサー
_ 8/7 今日は一日“ゲーム音楽”三昧
( via ゲーム音楽を聴こう )
今日は一日“ゲーム音楽”三昧
8月7日(土)後0:15~11:00(中断あり)
きたわあ
…しかしながら、ゲー音三昧の8月7日って、DQコンサートと被っているんですよ…!
あ゛
_ [NetBSD][ZFS][翻訳]NetBSD Blog - Google Summer of Code zfs-port project status update 2 翻訳
Google Summer of Code の ZFS 移植プロジェクトのステータス更新(2)
July 01, 2009 posted by Adam Hamsik
ZFS as whole has 2 main ways it can be accessed. The first is ZVOL and the second is ZPL. In my first status update I said that I had ported ZVOL layer to NetBSD, and I was able to create and use ZFS Zpools and Zvols (Logical partitions exported from one disk storage pool called zpool).
ZFS を利用するための方法はおもに 2 つある。1 つめは ZVOL で、2 つめは ZPL だ。私からの最初の報告は、NetBSD へ ZVOL レイヤーの移植し、そして ZFS Zpools と Zvols を作成し、利用できるようにしたことだ( 1 ディスクストレージから出力した論理パーティションを zpool と呼ぶ )。
Over the last few weeks I have worked on a ZPL port. ZPL is ZFS file system layer. I have ported zfs_vfsops.c file and zfs_vnops.c file to NetBSD. Today I have ZFS to state where I can mount ZFS data set, copy whole kernel source tree there and finally build NetBSD kernel on it.
数週間前に私は ZPL を移植した。ZPL は ZFS ファイルシステムのレイヤーである。zfs_vfsops.c ファイルと zfs_vnops.c ファイルを NetBSD へ移植した。手元( 訳: copy )の NetBSD カーネルソースツリーでビルドできたので、現在は ZFS データセットをマウントできるようにしてある。
$ su # modload /mod/solaris.kmod # modload /mod/zfs.kmod # zfs mount test/zfs
# mount /dev/wd0a on / type ffs (local) kernfs on /kern type kernfs (local) ptyfs on /dev/pts type ptyfs (local) /dev/zvol/dsk/test/zfs on /test/zfs type zfs (local) # zfs list NAME USED AVAIL REFER MOUNTPOINT test 391M 1.57G 18K /test test/tank 40M 1.61G 16K - test/zfs 351M 1.57G 351M /test/zfs test/zfs1 18K 1.57G 18K /test/zfs1
# cd /test/zfs/src/sys/arch/i386/compile/GENERIC/
# make making sure the compat library is up to date... `libcompat.a' is up to date. making sure the kern library is up to date... `libkern.o' is up to date.
# compile GENERIC/init_main.o cc -ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Werror -Di386 -I. -I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../common/lib/libc/arch/i386/string -I../../../../dist/ipf -I../../../../external/isc/atheros_hal/dist -I../../../../external/isc/atheros_hal/ic -I../../../../../common/include -c ../../../../kern/init_main.c
# create vers.c sh ../../../../conf/newvers.sh
# compile GENERIC/vers.o cc -ffreestanding -fno-zero-initialized-in-bss -O2 -std=gnu99 -fno-strict-aliasing -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Werror -Di386 -I. -I../../../../../common/include -I../../../../arch -I../../../.. -nostdinc -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -I../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../lib/libkern/../../../common/lib/libc/string -I../../../../lib/libkern/../../../common/lib/libc/arch/i386/string -I../../../../dist/ipf -I../../../../external/isc/atheros_hal/dist -I../../../../external/isc/atheros_hal/ic -I../../../../../common/include -c vers.c
# link GENERIC/netbsd ld -Map netbsd.map --cref -T ../../../../arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o NetBSD 5.99.14 (GENERIC) #1: Tue Jun 30 20:00:37 UTC 2009 text data bss dec hex filename 8554455 407284 538396 9500135 90f5e7 netbsd
I tried to boot build kernel and it worked like a charm. There is still much work to do port ZFS snapshot support, properly implement security policies for ZFS access, test ZFS ACL support etc.
ビルドしたカーネルでブートし、ちゃんと動作するように取り組んでいる。ZFS スナップショットサポートを移植したり、ZFS アクセスのためのセキュリティポリシーを適切にしたり、ZFS ACL サポートをテストするなど、まだたくさんやることがある。
My work is accessible in my git repository at git://rachael.ziaspace.com/src.git in a branch called haad-zfs. You can easily clone this repo with command git clone git://rachael.ziaspace.com/src.git. To get haad-zfs branch checkout you need to use command git checkout -b haad-zfs origin/haad-zfs from src directory.
私の作業は git リポジトリ git://rachael.ziaspace.com/src.git の haad-zfs ブランチでアクセスできる。git clone git://rachael.ziaspace.com/src.git とコマンドをたたけば簡単に clone できる。ソースディレクトリから head-zfs をチェックアウトするには git checkout -b haad-zfs origin/haad-zfs とコマンドをたたけばいい。