Line 57:
Line 57:
| 1
| 1
| 0xfd
| 0xfd
−
| file access "mode" -- if bit 0 is set, this is a regular file (leaf node) and not a directory
+
| File access "mode"
+
+
* If <code>(mode & 3) == 1</code>, this is a regular file
+
* If <code>(mode & 3) == 2</code>, this is a directory
+
* <code>mode >> 0x6</code> gives the owner permissions
+
* <code>(mode & 0x30) >> 4</code> gives the group permissions
+
* <code>(mode & 0xc) >> 2</code> gives the other permissions
+
|-
|-
| 0x0D
| 0x0D