戻る

前へ| 次へ

圧縮と rootdisk 書き込み

# dd if=/dev/zero of=/dev/ram7 bs=1k count=4096
4096+0 records in
4096+0 records out
# mke2fs -m0 /dev/ram7 4096
mke2fs 1.34 (25-Jul-2003)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1024 inodes, 4096 blocks
0 blocks (0.00%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
1024 inodes per group

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 32 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
# mount /dev/ram7 /mnt
# cp -dpR staging/* /mnt
# df | sed 2,3d
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/ram7                 3963      2888      1075  73% /mnt
# umount /dev/ram7
# cd 1006_1006_Enabling_Multiple_Users/
# ls -a
./  ../
# dd if=/dev/ram7 of=phase6-image bs=1k count=4096
4096+0 records in
4096+0 records out
# gzip -9 phase6-image
# ls -l
total 1260
-rw-r--r--    1 root     root      1282264 Aug 31 21:22 phase6-image.gz

書き込み

まっさらの フロッピディスクを 用意して

# dd if=phase6-image.gz of=/dev/fd0 bs=1k
1252+1 records in
1252+1 records out

これにて 一件ちゃくちゃく?

にゃんたろう 拝!

2010年 8月31日 (火) 21:07:37 JST 作成


前へ| 次へ

戻る

Copyright © 2006.-2010. nyantarou All Rights Reserved.