My Userlandを作る 2007-08-28 †古文書が出てきたので、メモしておく。 空のroot file image(16MB)を作成する。 †% cd 適当なディレクトリ % /bin/dd if=/dev/zero of=image/my_userland.img bs=16777216 count=1 % /sbin/mke2fs image/my_userland.img ユーザランドを書き込む。 †% su root # mkdir /mnt/img # /bin/mount -o loop image/my_userland.img /mnt/img # cd ユーザランド # tar cf - . | (cd /mnt/img; tar xf -) # umount /mnt/img |