<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Xv6 · Jingyu Liu</title><link>https://jingyu.uk/tags/xv6/</link><description>Jingyu Liu · PhD student in Financial Technology at HKUST (Guangzhou). Research in blockchain, mechanism design, and decentralized finance.</description><language>en-US</language><atom:link href="https://jingyu.uk/tags/xv6/index.xml" rel="self" type="application/rss+xml"/><item><title>xv6 file system</title><link>https://jingyu.uk/posts/xv6-fs/</link><guid>https://jingyu.uk/posts/xv6-fs/</guid><pubDate>Fri, 01 Oct 2021 10:34:07 +0800</pubDate><description>&lt;h1 id="xv6-file-system-overview"&gt;xv6 File system overview&lt;/h1&gt;
&lt;p&gt;In general, There are 3 different ascpect on unix-like file system, file descriptor, file/directory and block.
In xv6, they are distributed into 7 layers:
&lt;img src="https://jingyu.uk/images/cs/xv6-layer.png" alt=""&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="block-interface"&gt;Block interface&lt;/h2&gt;
&lt;p&gt;The xv file system&amp;rsquo;s block interface consists of 34 layers(disk, buffer cache , logging and bitmap)
&lt;strong&gt;Goal: achieve crash recovery&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>