3 [ -z $TFS_DIR ] && TFS_DIR
=${HOME}/project
/fstk
/fs
/tfs
6 dd if=/dev
/zero of
=root.img bs
=1024 count
=1440 2>/tmp
/dd-out
8 dd if=/dev
/zero of
=tfs.img bs
=1024 count
=1024 2>/tmp
/dd-out
11 dd if=thunix.img of
=root.img conv
=notrunc
2>/tmp
/dd-out
14 qemu-img create tfs.img
1M
15 $TFS_DIR/mktfs tfs.img
0
18 ${TFS_DIR}/tfsh tfs.img
<< EOF
42 dd if=tfs.img of
=root.img bs
=1024 seek
=416 conv
=notrunc
2>/tmp
/dd-out
43 mv root.img thunix.img