Skip to content

Instantly share code, notes, and snippets.

@GiantRobato
Last active January 30, 2020 04:08
Show Gist options
  • Save GiantRobato/f40982bc373f0bf66a0422ed62791516 to your computer and use it in GitHub Desktop.
Save GiantRobato/f40982bc373f0bf66a0422ed62791516 to your computer and use it in GitHub Desktop.
[APUE ] File System Gist
digraph G {
Disk [
shape=plaintext
label=<
<table border='0' cellborder='1' cellspacing='0'>
<tr>
<td>Disk</td>
<td port='one'>Partition 1</td>
<td port='two'>Partition 2</td>
<td port='three'>...</td>
<td port='four'>Partition n</td>
</tr>
</table>
>];
FS [
shape=plaintext
label=<
<table border='0' cellborder='1' cellspacing='0'>
<tr>
<td>FS</td>
<td>...</td>
<td port='one'>Cylinder Group 0</td>
<td port='two'>CG 1</td>
<td>...</td>
<td>CG n</td>
</tr>
</table>
>];
CG [
shape=plaintext
label=<
<table border='0' cellborder='1' cellspacing='0'>
<tr>
<td>CG</td>
<td>...</td>
<td port='one'>i-nodes</td>
<td port='two'>data blocks</td>
</tr>
</table>
>];
Disk:two -> FS;
FS:two -> CG;
}
@GiantRobato
Copy link
Author

GiantRobato commented Jan 30, 2020

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment