<?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>Filesystem on Kenno&#39;s Open Note</title>
    <link>https://blog.khmersite.net/tags/filesystem/</link>
    <description>Recent content in Filesystem on Kenno&#39;s Open Note</description>
    <image>
      <title>Kenno&#39;s Open Note</title>
      <url>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://blog.khmersite.net/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.154.0</generator>
    <language>en</language>
    <lastBuildDate>Sat, 20 Jun 2020 19:40:24 +1000</lastBuildDate>
    <atom:link href="https://blog.khmersite.net/tags/filesystem/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Label Ext4 Filesystem</title>
      <link>https://blog.khmersite.net/p/how-to-label-ext4-filesystem/</link>
      <pubDate>Sat, 20 Jun 2020 19:40:24 +1000</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-label-ext4-filesystem/</guid>
      <description>&lt;p&gt;I have a 2TB drive, when connecting to my Fedora workstation, it&amp;rsquo;s mounted using the UUID of the partition as the following:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;# mount | grep sde1
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/dev/sde1 on /run/media/kenno/f59ffb93-5a92-4af9-a9b5-19ca3bb8aa37 type ext4 (rw,nosuid,nodev,relatime,seclabel,uhelper=udisks2)
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;I think it&amp;rsquo;ll look nicer if it&amp;rsquo;s mounted with a shorter name, e.g. &amp;lsquo;Podcast&amp;rsquo;.&lt;/p&gt;
&lt;p&gt;The filesystem for this drive is ext4. To create a label on the ext4 filesystem, we can use a program called &lt;code&gt;e2label&lt;/code&gt;. The exact command is &lt;code&gt;e2label device [ volume-label ]&lt;/code&gt; according to the &lt;code&gt;man&lt;/code&gt; page.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Label an XFS Filesystem</title>
      <link>https://blog.khmersite.net/p/how-to-label-xfs-filesystem/</link>
      <pubDate>Sun, 27 Oct 2019 23:49:40 +1100</pubDate>
      <guid>https://blog.khmersite.net/p/how-to-label-xfs-filesystem/</guid>
      <description>&lt;p&gt;When I plugged in an external drive to my laptop, the drive was displayed as a string consits random letters and numbers. Here is an example:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-console&#34; data-lang=&#34;console&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;❯❯❯ df -Th | grep sdb
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;/dev/sdb1               xfs       481M   26M  456M   6% /run/media/kenno/5428b182-c92e-466b-89d2-b5b31b80ba48
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Though the drive worked perfectly fine, I think it&amp;rsquo;s ugly, and I wanted to properly give it a good name. Let&amp;rsquo;s call it &lt;strong&gt;externo&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;But how to do this? You may not believe it, I forgot how to do this. In fact, I couldn&amp;rsquo;t rememer when the last time I had to (re)label a file system. Fear not,Google can come to the rescue!&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
