inode block

79
Copyright (C) Cd Chen - http://www.cdchen.idv.tw/ 淺談檔案系統 陳永昇 (Cd Chen) http://www.cdchen.idv.tw/ 本件公開授權,經同意,禁轉載 Version: 20080420-RHEL5.1 1

Upload: -

Post on 14-May-2015

639 views

Category:

Education


0 download

DESCRIPTION

這是我上課用來解釋 inode / block 觀念的投影片,與大家分享,敬請指教,謝謝!!

TRANSCRIPT

Page 1: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

淺談檔案系統陳永昇 (Cd Chen)http://www.cdchen.idv.tw/

本⽂文件⾮非公開授權,⾮非經同意,禁⽌止轉載Version: 20080420-RHEL5.1

1

Page 2: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

2

Page 3: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

磁碟設備

檔案系統

使⽤用者空間

磁區、磁柱、磁軌

inode、block

檔案、⺫⽬目錄、...

2

Page 4: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

檔案系統 inode、block

2

Page 5: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

檔案系統 inode、block

2

Page 6: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode

檔案系統 inode、block

2

Page 7: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode

檔案系統 inode、block

2

Page 8: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

檔案系統 inode、block

2

Page 9: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

3

Page 10: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

I would like to the theme but the font is not...

file1

blockinode... 211 212 213 214103102101...

3

Page 11: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

I would like to the theme but the font is not...

file1

blockinode... 211 212 213 214103102101... 212 213

I would like to the theme but the font is not...

Content

3

Page 12: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

I would like to the theme but the font is not...

file1

blockinode... 211 212 213 214103102101...

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102 212 213

I would like to the theme but the font is not...

ContentMetadata

3

Page 13: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

4

Page 14: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

ContentMetadata

Name inode

. 101

.. 1045

file1 102

file1

4

Page 15: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$

5

Page 16: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ ls dir/

5

Page 17: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ ls dir/

S

5

Page 18: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ ls dir/

S

5

Page 19: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ ls dir/

211

S

5

Page 20: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls dir/

211

S

5

Page 21: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls dir/

211file1

S

5

Page 22: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls dir/

211file1

file1[student@linux ~]$

S

5

Page 23: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$

6

Page 24: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ ls -l dir/file1

6

Page 25: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ ls -l dir/file1

S

6

Page 26: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ ls -l dir/file1

S

6

Page 27: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ ls -l dir/file1

211

S

6

Page 28: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls -l dir/file1

211

S

6

Page 29: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls -l dir/file1

211

S

102

6

Page 30: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls -l dir/file1

211

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

6

Page 31: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls -l dir/file1

211

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

Regularrw-rw-r--1studentstudent1282008/04/01

6

Page 32: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ ls -l dir/file1

211

-rw-rw-r-- 1 student student 128 04/01 file1[student@linux ~]$

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

Regularrw-rw-r--1studentstudent1282008/04/01

6

Page 33: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$

7

Page 34: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ cat dir/file1

7

Page 35: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ cat dir/file1

S

7

Page 36: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ cat dir/file1

S

7

Page 37: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ cat dir/file1

211

S

7

Page 38: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ cat dir/file1

211

S

7

Page 39: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ cat dir/file1

211

S

102

7

Page 40: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ cat dir/file1

211

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

7

Page 41: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ cat dir/file1

211

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

7

Page 42: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ cat dir/file1

211

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

7

Page 43: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ cat dir/file1

211

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

7

Page 44: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

[student@linux ~]$ cat dir/file1

211

I would like to the theme but the font is not..[student@linux ~]$

S

102

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

7

Page 45: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

File Operations

8

Page 46: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

建⽴立與複製檔案1.檢查是否有可⽤用的 inode 與⾜足夠的 block2.將資料寫⼊入 block3.產⽣生 Metadata4.將 Metadata 存⼊入 inode

‣ 設定 ctime、mtime、atime

9

Page 47: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

搬移檔案‣ 不同檔案系統

1.先複製檔案2.刪除原始檔案

‣ 相同檔案系統1.在⺫⽬目的⺫⽬目錄的 inode Table 新增紀錄2.移除原始⺫⽬目錄 inode Table 相關紀錄3.修改⺫⽬目的與原始⺫⽬目錄的 ctime

10

Page 48: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

更改檔案名稱1.找出儲存檔案的⺫⽬目錄之內容2.變更 inode Table 的名稱3.變更⺫⽬目錄的 ctime

11

Page 49: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

刪除檔案1.遞減 Link Count

‣ 遞減後為 0 時:

‣ 將 block 與 inode 放⼊入可⽤用清單中2.移除⺫⽬目錄 inode Table 的紀錄3.更新⺫⽬目錄的 ctime

12

Page 50: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

Link Files

13

Page 51: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

[student@linux ~]$ ls -il dir/102 -rw-rw-r-- 2 student student 128 04/01 file1102 -rw-rw-r-- 2 student student 128 04/01 hard 103 lrwxrwxrwx 1 student student 5 04/01 soft[student@linux ~]$

Hard Link Soft Link

原理 共⽤用 inode,遞增 Link Count 儲存原始檔案的路徑名稱

Metadata 與原始檔案相同

•Type: l (Link)•Perm: 777•Link Count: 獨⽴立•Ownership: 建⽴立者•Size: 原始檔案的路徑名稱⻑⾧長度•Timestamp:獨⽴立

刪除原始檔 可⽤用 失效

建⽴立同名原始檔 不同 相同

限制 •原始檔案不能為⺫⽬目錄•必須與原始檔在相同檔案系統 無

14

Page 52: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$

15

Page 53: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ cat dir/hard

15

Page 54: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ cat dir/hard

S

15

Page 55: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ cat dir/hard

S

15

Page 56: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ cat dir/hard

211

S

15

Page 57: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

hard 102

[student@linux ~]$ cat dir/hard

211

S

15

Page 58: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

hard 102

[student@linux ~]$ cat dir/hard

211

S

102

15

Page 59: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

hard 102

[student@linux ~]$ cat dir/hard

211

S

102

Type RegularMode rw-rw-r--Link Count 2User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

15

Page 60: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

hard 102

[student@linux ~]$ cat dir/hard

211

S

102

Type RegularMode rw-rw-r--Link Count 2User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

15

Page 61: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

hard 102

[student@linux ~]$ cat dir/hard

211

S

102

Type RegularMode rw-rw-r--Link Count 2User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

15

Page 62: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

hard 102

[student@linux ~]$ cat dir/hard

211

S

102

Type RegularMode rw-rw-r--Link Count 2User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

15

Page 63: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

hard 102

[student@linux ~]$ cat dir/hard

211

I would like to the theme but the font is not..[student@linux ~]$

S

102

Type RegularMode rw-rw-r--Link Count 2User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

15

Page 64: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$

16

Page 65: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ cat dir/soft

16

Page 66: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

[student@linux ~]$ cat dir/soft

S

16

Page 67: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ cat dir/soft

S

16

Page 68: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101

[student@linux ~]$ cat dir/soft

211

S

16

Page 69: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

211

S

16

Page 70: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101...

Type DirectoryMode rwxrwxr-xLink Count 2User studentGroup studentSize 1024Timestamp 2008/04/01Blocks 211

101 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

211

S

103

16

Page 71: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

103

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214

103

16

Page 72: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

103

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103

16

Page 73: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

103

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103 214

file1

16

Page 74: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103 214

file1

102

16

Page 75: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103 214

file1

102

16

Page 76: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103 214

file1

102

16

Page 77: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103 214

file1

102

16

Page 78: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/soft

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103 214

file1

102

16

Page 79: Inode block

Copyright (C) Cd Chen - http://www.cdchen.idv.tw/

blockinode... 211 212 213 214103102101... 211

Name inode

. 101

.. 1045

file1 102

soft 103

[student@linux ~]$ cat dir/softI would like to the theme but the font is not..[student@linux ~]$

Type RegularMode rw-rw-r--Link Count 1User studentGroup studentSize 128Timestamp 2008/04/01Blocks 212, 213

102

212

212 213

I would like to the theme but the font is not...

Type LinkMode rwxrwxrwxLink Count 1User studentGroup studentSize 5Timestamp 2008/04/01Blocks 214214

103 214

file1

102

16