annotate slide/slide.pdf.html @ 40:18265abe9d74

...
author matac42 <matac@cr.ie.u-ryukyu.ac.jp>
date Mon, 31 Jan 2022 02:52:18 +0900
parents 13120531542b
children ac9b7aa9bb06
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 <!DOCTYPE html>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 <html>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 <head>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 <meta http-equiv="content-type" content="text/html;charset=utf-8">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 <title>GearsOSにおけるinodeを用いたFileSystemの設計</title>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 <meta name="generator" content="Slide Show (S9) v4.1.0 on Ruby 3.0.3 (2021-11-24) [arm64-darwin21]">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 <meta name="author" content="又吉 雄斗" >
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 <!-- style sheet links -->
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 <link rel="stylesheet" href="s6/themes/screen.css" media="screen">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 <link rel="stylesheet" href="s6/themes/print.css" media="print">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 <link rel="stylesheet" href="s6/themes/blank.css" media="screen,projection">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 <!-- JS -->
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 <script src="s6/js/jquery-1.11.3.min.js"></script>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 <script src="s6/js/jquery.slideshow.js"></script>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 <script src="s6/js/jquery.slideshow.counter.js"></script>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 <script src="s6/js/jquery.slideshow.controls.js"></script>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 <script src="s6/js/jquery.slideshow.footer.js"></script>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 <script src="s6/js/jquery.slideshow.autoplay.js"></script>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 <!-- prettify -->
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 <link rel="stylesheet" href="scripts/prettify.css">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 <script src="scripts/prettify.js"></script>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 <style>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 .slide {page-break-after: always;}
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 </style>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
36
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 </head>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
40 <body>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
41
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 <div class="layout">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 <div id="header"></div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 <div id="footer">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 <div align="right">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 <img src="s6/images/logo.svg" width="200px">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 <div class="presentation">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 <div class='slide cover'>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 <table width="90%" height="90%" border="0" align="center">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 <tr>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 <td>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 <div align="center">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
58 <h1><font color="#808db5">GearsOSにおけるinodeを用いたFileSystemの設計</font></h1>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 </td>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 </tr>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 <tr>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 <td>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 <div align="left">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 又吉 雄斗
36
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 35
diff changeset
66 河野研
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
67 <hr style="color:#ffcc00;background-color:#ffcc00;text-align:left;border:none;width:100%;height:0.2em;">
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 </td>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 </tr>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 </table>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 <div class='slide'>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
76
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
77 <!-- _S9SLIDE_ -->
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
78 <h2 id="inodeを用いたgearsdirectoryの実装">inodeを用いたgearsDirectoryの実装</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
79
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
80 <ul>
40
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
81 <li>アプリケーションの信頼性を保証するために,アプリケーションが動作するOSの信頼性を高める必要がある
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
82 <ul>
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
83 <li>信頼性確保の方法として定理証明やモデル検査がある</li>
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
84 </ul>
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
85 </li>
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
86 <li>当研究室では,信頼性の保証を目的としたGearsOSを開発している</li>
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
87 <li>GearsOSで未実装の機能であるファイルシステムの実装を目指す</li>
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
88 <li>今回はディレクトリシステムを実装した</li>
40
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 36
diff changeset
89 <li>Unix likeな実装</li>
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
90 <li>GearsOSへUnixのFile systemの仕組みを取り入れるアプローチをとる</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
91 <li>Unixのinodeの仕組みを取り入れる</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
92 <li>GearsOSのディレクトリシステムであるgearsDirectoryについて説明する</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
93 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
94
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
95
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
96
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
97 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
98
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
99 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
100 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
101 <h2 id="continuation-based-c">Continuation based C</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
102
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
103 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
104 <li>Cの下位言語である</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
105 <li>function callの代わりにgotoによる継続を用いる</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
106 <li>プログラムはCodeGearと呼ばれる処理の単位で記述</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
107 <li>ノーマルレベルとメタレベルの処理を切り分けることが可能である</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
108 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
109
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
110 <div style="text-align: center;">
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
111 <img src="../paper/figs/dgcgdg.svg" width="1000" />
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
112 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
113
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
114
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
115
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
116 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
117
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
118 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
119 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
120 <h2 id="gearsos">GearsOS</h2>
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 <ul>
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
123 <li>信頼性と拡張性の両立を目的として開発されている</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
124 <li>Gearという概念があり,実行の単位をCodeGear,データの単位をDataGearと呼ぶ</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
125 <li>軽量継続を基本とし,stackを持たない代わりに全てをContext経由で実行する</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
126 <li>ノーマルレベルとメタレベルの処理を切り分けることができる</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
127 <li>同様にGearの概念を持つCbC(Continuation based C)で記述されている.</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
128 <li>OSとして動作するために今後実装しなければならない機能がいくつか残っている.</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
129 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
130
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
131
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
132
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
133 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
134
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
135 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
136 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
137 <h2 id="gearsos-1">GearsOS</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
138
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
139 <h3 id="codegearとmetacodegearの関係">CodeGearとmetaCodeGearの関係</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
140
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
141 <div style="text-align: center;">
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
142 <img src="../paper/figs/meta_cg_dg.svg" width="1200" />
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
143 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
144
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
145
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
146
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
147 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
148
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
149 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
150 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
151 <h2 id="gearsos-2">GearsOS</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
152
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
153 <h3 id="contextを参照する流れ">Contextを参照する流れ</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
154
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
155 <div style="text-align: center;">
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
156 <img src="../paper/figs/context.svg" width="1200" />
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
157 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
158
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
159
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
160
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
161 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
162
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
163 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
164 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
165 <h2 id="unixのfile-system">UnixのFile system</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
166
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
167 <h3 id="xv6">xv6</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
168
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
169 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
170 <li>MITで教育用の目的で開発されたOS</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
171 <li>Unixの基本的な構造を持つ</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
172 <li>当研究室ではxv6のCbCでの書き換え,分析を行なっている</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
173 <li>File systemではinodeの仕組みが用いられている</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
174 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
175
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
176 <h3 id="inode">inode</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
177
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
178 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
179 <li>ファイルの属性情報が書かれたデータである</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
180 <li>識別番号としてinode numberを持つ</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
181 <li>inodeはファイルシステム始動時にinode領域をディスク上に確保する</li>
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
182 </ul>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
183
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
184
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
185
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
186 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
187
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
188 <div class='slide'>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
189 <!-- _S9SLIDE_ -->
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
190 <h2 id="gearsfilesystemにおけるdirectoryの構成">GearsFileSystemにおけるdirectoryの構成</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
191
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
192 <div style="text-align: center;">
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
193 <img src="../paper/figs/inode.svg" width="1000" />
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
194 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
195
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
196
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
197
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
198 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
199
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
200 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
201 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
202 <h2 id="unix-like-な-interface">Unix Like な interface</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
203
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
204 <h3 id="mkdir">mkdir</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
205
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
206 <pre><code class="language-c">__code mkdir(struct GearsDirectoryImpl* gearsDirectory, struct Integer* name, __code next(...)) {
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
207 struct FTree* newDirectory = createFileSystemTree(context, gearsDirectory-&gt;currentDirectory);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
208 Node* inode = new Node();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
209 inode-&gt;key = gearsDirectory-&gt;INodeNumber;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
210 inode-&gt;value = newDirectory;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
211 struct FTree* cDirectory = new FTree();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
212 cDirectory = gearsDirectory-&gt;iNodeTree;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
213 goto cDirectory-&gt;put(inode, mkdir2);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
214 }
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
215
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
216 __code mkdir2(struct GearsDirectoryImpl* gearsDirectory, struct Integer* name, __code next(...)) {
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
217 Node* dir = new Node();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
218 dir-&gt;key = name-&gt;value;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
219 Integer* iNum = new Integer();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
220 iNum-&gt;value = gearsDirectory-&gt;INodeNumber;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
221 dir-&gt;value = iNum;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
222 gearsDirectory-&gt;INodeNumber = gearsDirectory-&gt;INodeNumber + 1;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
223 struct FTree* cDirectory = new FTree();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
224 cDirectory = gearsDirectory-&gt;currentDirectory;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
225 goto cDirectory-&gt;put(dir, next(...));
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
226 }
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
227 </code></pre>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
228
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
229
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
230
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
231 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
232
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
233 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
234 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
235 <h2 id="unix-like-な-interface-1">Unix Like な interface</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
236
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
237 <h3 id="ls">ls</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
238
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
239 <pre><code class="language-c">__code ls(struct GearsDirectoryImpl* gearsDirectory, struct Integer* name, __code next(...)) {
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
240 Node* dir = new Node();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
241 dir-&gt;key = name-&gt;value;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
242 struct FTree* cDirectory = new FTree();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
243 cDirectory = gearsDirectory-&gt;currentDirectory;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
244 goto cDirectory-&gt;get(dir, ls2);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
245 }
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
246
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
247 __code ls2(struct GearsDirectoryImpl* gearsDirectory, struct Node* node, __code next(...)) {
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
248 printf("%d\n", node-&gt;key);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
249 goto next(...);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
250 }
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
251 </code></pre>
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
252
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
253
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
254
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
255 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
256
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
257 <div class='slide'>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
258 <!-- _S9SLIDE_ -->
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
259 <h2 id="unix-like-な-interface-2">Unix Like な interface</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
260
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
261 <h3 id="cd">cd</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
262
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
263 <pre><code class="language-c">__code cd2Child(struct GearsDirectoryImpl* gearsDirectory, struct Integer* name, __code next(...)) {
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
264 struct FTree* cDirectory = new FTree();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
265 cDirectory = gearsDirectory-&gt;currentDirectory;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
266 struct Node* node = new Node();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
267 node-&gt;key = name-&gt;value;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
268 goto cDirectory-&gt;get(node, cd2Child2);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
269 }
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
270
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
271 __code cd2Child2(struct GearsDirectoryImpl* gearsDirectory, struct Node* node, __code next(...)) {
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
272 struct FTree* iNodeTree = new FTree();
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
273 iNodeTree = gearsDirectory-&gt;iNodeTree;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
274 goto iNodeTree-&gt;get(node-&gt;value, cd2Child3);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
275 }
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
276
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
277 __code cd2Child3(struct GearsDirectoryImpl* gearsDirectory, struct Node* node, __code next(...)) {
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
278 gearsDirectory-&gt;currentDirectory = node-&gt;value;
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
279 goto next(...);
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
280 }
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
281 </code></pre>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
282
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
283
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
284
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
285 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
286
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
287 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
288 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
289 <h2 id="gearsdirectoryの非破壊的編集によるバックアップ">GearsDirectoryの非破壊的編集によるバックアップ</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
290
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
291 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
292 <li>GearsOSにおける永続データは非破壊的な編集を行う木構造を用いて保存する</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
293 <li>ディレクトリシステム自体にバックアップの機能を搭載することが可能と考える</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
294 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
295
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
296 <div style="text-align: center;">
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
297 <img src="../paper/figs/nondestructive_tree_modification.png" width="1200" />
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
298 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
299
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
300
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
301
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
302 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
303
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
304 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
305 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
306 <h2 id="gearsfilesystemの今後">GearsFileSystemの今後</h2>
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
307
35
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
308 <h3 id="gearsshell">GearsShell</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
309
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
310 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
311 <li>現状のGearsOSはユーザーの入力を受け付けることが出来ず,プログラミングインターフェースの様に機能している.</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
312 <li>gearsFileSystemなどGearsOSの各機能と接続し,今回作成したcdやlsの様なコマンドを受け付けるGearsShellを作成したい.</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
313 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
314
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
315 <h3 id="gearsdirectory-filename">gearsDirectory filename</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
316
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
317 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
318 <li>現状はgearsDirectoryのfilenameはIntegerの構造で管理されている</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
319 <li>filenameは一般的に文字列型であるためIntegerから文字列型に変更する必要がある</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
320 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
321
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
322
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
323
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
324 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
325
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
326 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
327 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
328 <h2 id="gearsfilesystemの今後-1">GearsFileSystemの今後</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
329
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
330 <h3 id="gearsdirectory-path">gearsDirectory path</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
331
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
332 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
333 <li>gearsDirectoryにはpathの機能が実装されていない</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
334 <li>full path指定のlsなどが実装できない状態である</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
335 <li>FileSystemTreeを拡張し,ノードをたどりpathを生成する様な機能を実装する必要がある</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
336 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
337
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
338 <h3 id="ファイルのバックアップ">ファイルのバックアップ</h3>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
339
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
340 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
341 <li>レコードのDataをファイルの差分履歴として保持し,日時情報を付け加えることでVersion Control Systemのような機能を持たせることが可能であると考えられる</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
342 </ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
343
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
344
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
345
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
346 </div>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
347
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
348 <div class='slide'>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
349 <!-- _S9SLIDE_ -->
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
350 <h2 id="まとめ">まとめ</h2>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
351
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
352 <ul>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
353 <li>gearsDirectoryの実装について説明した</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
354 <li>RedBlackTreeのシンプルなinterfaceにより比較的容易に実装を行うことができた</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
355 <li>形式手法とファイルシステムの機能の両面で信頼性の向上が図れると考える</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
356 <li>RedBlackTreeを用いてinodeの仕組みを構築し,ls,cd,mkdirを作成するなどして,
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
357 Unix Likeに構築することが出来た.</li>
ecbdcda618a4 fix slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents: 31
diff changeset
358 </ul>
19
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
359
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
360 </div>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
361
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
362
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
363 </div><!-- presentation -->
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
364 </body>
9d7c2f216e62 add slide
matac42 <matac@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
365 </html>