Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #60 from eXeC64/master

Slight clean up of HAT RFC
  • Loading branch information...
commit 125a53597f052ce182e718e23cc1c5ea55c8350e 2 parents 8888ec2 + 91c6d5f
@joskuijpers joskuijpers authored
View
30 FS/Draft_Harrys_Allocation_Table.txt
@@ -2,7 +2,7 @@
RFC (Draft-Fs) H. Jeffery, Ed.
- April 14, 2012
+ April 19, 2012
Harry's Allocation Table
@@ -25,7 +25,7 @@ Table of Contents
3.1.1.2. num_sectors . . . . . . . . . . . . . . . . . . . . 3
3.1.1.3. sector_map_start . . . . . . . . . . . . . . . . . 4
3.1.1.4. sector_joins_start . . . . . . . . . . . . . . . . 4
- 3.1.1.5. sector_start . . . . . . . . . . . . . . . . . . . 4
+ 3.1.1.5. sectors_start . . . . . . . . . . . . . . . . . . . 4
3.1.1.6. sector_size . . . . . . . . . . . . . . . . . . . . 4
3.1.1.7. sectors_used . . . . . . . . . . . . . . . . . . . 4
3.1.2. sector map . . . . . . . . . . . . . . . . . . . . . . 4
@@ -35,8 +35,8 @@ Table of Contents
3.2. Higher Layer . . . . . . . . . . . . . . . . . . . . . . . 5
3.2.1. inode . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2.1.1. type . . . . . . . . . . . . . . . . . . . . . . . 6
- 3.2.1.2. content_size . . . . . . . . . . . . . . . . . . . 6
- 3.2.1.3. link_count . . . . . . . . . . . . . . . . . . . . 6
+ 3.2.1.2. num_links . . . . . . . . . . . . . . . . . . . . . 6
+ 3.2.1.3. content_size . . . . . . . . . . . . . . . . . . . 6
3.2.2. link . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2.2.1. strip_start_sector . . . . . . . . . . . . . . . . 7
3.2.2.2. file_name . . . . . . . . . . . . . . . . . . . . . 7
@@ -133,8 +133,6 @@ Jeffery [Page 2]
This structure contains the header information for HAT.
- The total size of the header is 16 words.
-
+------+--------------------+
| Size | Name |
+------+--------------------+
@@ -142,7 +140,7 @@ Jeffery [Page 2]
| 1 | num_sectors |
| 2 | sector_map_start |
| 2 | sector_joins_start |
- | 2 | sector_start |
+ | 2 | sectors_start |
| 1 | sector_size |
| 1 | sectors_used |
+------+--------------------+
@@ -164,6 +162,8 @@ Jeffery [Page 2]
+
+
Jeffery [Page 3]
HAT April 2012
@@ -178,7 +178,7 @@ Jeffery [Page 3]
This field contains the address of the start of the array of sector
joins.
-3.1.1.5. sector_start
+3.1.1.5. sectors_start
This field contains the address of the first sector on disk.
@@ -285,8 +285,8 @@ Jeffery [Page 5]
| Size | Name |
+------+--------------+
| 1 | type |
+ | 1 | num_links |
| 2 | content_size |
- | 1 | link_count |
+------+--------------+
Table 5: inode structure
@@ -308,16 +308,16 @@ Jeffery [Page 5]
field is set to 1 then the inode represents a directory. If this
field is set to 2 then the inode represents a file.
-3.2.1.2. content_size
-
- This field contains the amount of data stored with this inode in
- words.
-
-3.2.1.3. link_count
+3.2.1.2. num_links
This field contains the number of links there are that point to the
strip containing this inode.
+3.2.1.3. content_size
+
+ This field contains the amount of data stored with this inode in
+ words.
+
3.2.2. link
+------+--------------------+
View
16 FS/Draft_Harrys_Allocation_Table.xml
@@ -76,7 +76,6 @@
<section anchor="Header" title="header">
<t>This structure contains the header information for HAT.</t>
- <t>The total size of the header is 16 words.</t>
<texttable anchor="HeaderTable" title="Header Structure">
<ttcol align="center">Size</ttcol>
@@ -85,7 +84,7 @@
<c>1</c><c>num_sectors</c>
<c>2</c><c>sector_map_start</c>
<c>2</c><c>sector_joins_start</c>
- <c>2</c><c>sector_start</c>
+ <c>2</c><c>sectors_start</c>
<c>1</c><c>sector_size</c>
<c>1</c><c>sectors_used</c>
</texttable>
@@ -112,7 +111,7 @@
sector joins.</t>
</section>
- <section anchor="HeaderSectorStart" title="sector_start">
+ <section anchor="HeaderSectorsStart" title="sectors_start">
<t>This field contains the address of the first sector on disk.</t>
<t>This is required because the first sector may not be positioned
immediately after the header. The first sector may be positioned
@@ -193,8 +192,8 @@
<ttcol align="center">Size</ttcol>
<ttcol align="center">Name</ttcol>
<c>1</c><c>type</c>
+ <c>1</c><c>num_links</c>
<c>2</c><c>content_size</c>
- <c>1</c><c>link_count</c>
</texttable>
<section anchor="InodeType" title="type">
@@ -213,15 +212,16 @@
this field is set to 2 then the inode represents a file.</t>
</section>
+ <section anchor="InodeNumLinks" title="num_links">
+ <t>This field contains the number of links there are that
+ point to the strip containing this inode.</t>
+ </section>
+
<section anchor="InodeContentSize" title="content_size">
<t>This field contains the amount of data stored with this
inode in words.</t>
</section>
- <section anchor="InodeLinkAccount" title="link_count">
- <t>This field contains the number of links there are that
- point to the strip containing this inode.</t>
- </section>
</section>
<section anchor="Link" title="link">
Please sign in to comment.
Something went wrong with that request. Please try again.