<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Btrfs on Xerxes II's Blog</title><link>/en/tags/btrfs/</link><description>Recent content in Btrfs on Xerxes II's Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 06 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/btrfs/index.xml" rel="self" type="application/rss+xml"/><item><title>How I Improved My Rust Compilation Experience</title><link>/en/posts/optimize-rust-compile-time-space/</link><pubDate>Mon, 06 Apr 2026 00:00:00 +0000</pubDate><guid>/en/posts/optimize-rust-compile-time-space/</guid><description>&lt;p&gt;Slow compilation and massive &lt;code&gt;target/&lt;/code&gt; directories — the classic Rust complaints. This post documents the techniques I&amp;rsquo;m currently using to make things better, using my project &lt;a href="https://github.com/Xerxes-2/clewdr"&gt;ClewdR&lt;/a&gt; (an async web service with 394 crate dependencies) as an example.&lt;/p&gt;
&lt;p&gt;Environment: Rust 1.94.1, CachyOS (Arch-based), NVMe SSD, Btrfs.&lt;/p&gt;
&lt;h2 id="rust-lld"&gt;rust-lld&lt;/h2&gt;
&lt;p&gt;Linking is the final step of Rust compilation, and traditionally the slowest. GNU ld performs terribly here, especially with LTO enabled.&lt;/p&gt;
&lt;p&gt;The old approach was to manually install &lt;code&gt;lld&lt;/code&gt; or &lt;code&gt;mold&lt;/code&gt; and configure &lt;code&gt;.cargo/config.toml&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>In-Place ext4 to Btrfs Conversion on an Oracle Cloud Ubuntu VM</title><link>/en/posts/ext4-to-btrfs-oracle-cloud/</link><pubDate>Mon, 06 Apr 2026 00:00:00 +0000</pubDate><guid>/en/posts/ext4-to-btrfs-oracle-cloud/</guid><description>&lt;p&gt;A writeup of converting an Oracle Cloud Ubuntu 26.04 ARM VM from ext4 to Btrfs in place.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color:red"&gt;WARNING&lt;/span&gt;: The operations in this post involve an in-place filesystem conversion — if anything goes wrong, data cannot be recovered. My VM was a blank machine with no important data, which is the only reason I felt comfortable doing this. If your machine has anything you can&amp;rsquo;t afford to lose, make sure you have a full backup first (Oracle Cloud Boot Volume Backup, rsync to a remote, dd image, etc.), and verify it&amp;rsquo;s actually restorable before proceeding. A failed filesystem conversion with no backup means total data loss — there&amp;rsquo;s no undoing it.&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>