<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Devices, Linux Filesystems, Filesystem Hierarchy Standard on AminBytes</title><link>https://aminbytes.dev/bytes/devices-and-filesystems/</link><description>Recent content in Devices, Linux Filesystems, Filesystem Hierarchy Standard on AminBytes</description><generator>Hugo</generator><language>en</language><atom:link href="https://aminbytes.dev/bytes/devices-and-filesystems/index.xml" rel="self" type="application/rss+xml"/><item><title>Create partitions and filesystems</title><link>https://aminbytes.dev/bytes/devices-and-filesystems/partitions-and-filesystems/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/devices-and-filesystems/partitions-and-filesystems/</guid><description>&lt;p&gt;A brand new disk is just a long row of empty blocks. Before Linux can store a single file on it, you need two things: a &lt;strong&gt;partition table&lt;/strong&gt; that splits the disk into pieces, and a &lt;strong&gt;filesystem&lt;/strong&gt; inside each piece that keeps track of files, folders and free space.&lt;/p&gt;</description></item><item><title>Maintain the integrity of filesystems</title><link>https://aminbytes.dev/bytes/devices-and-filesystems/filesystem-integrity/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/devices-and-filesystems/filesystem-integrity/</guid><description>&lt;p&gt;A full disk stops a server cold: logs can&amp;rsquo;t be written, databases refuse to save, and sometimes you can&amp;rsquo;t even log in. A damaged filesystem is worse, because files quietly go missing. This byte is about seeing problems early and fixing the simple ones yourself.&lt;/p&gt;</description></item><item><title>Control mounting and unmounting of filesystems</title><link>https://aminbytes.dev/bytes/devices-and-filesystems/mounting/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/devices-and-filesystems/mounting/</guid><description>&lt;p&gt;On Windows every disk gets its own letter. Linux has &lt;strong&gt;one&lt;/strong&gt; directory tree that starts at &lt;code&gt;/&lt;/code&gt;, and every filesystem is attached somewhere inside it. Attaching is called &lt;strong&gt;mounting&lt;/strong&gt;, and the directory you attach it to is the &lt;strong&gt;mount point&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Manage file permissions and ownership</title><link>https://aminbytes.dev/bytes/devices-and-filesystems/permissions-and-ownership/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/devices-and-filesystems/permissions-and-ownership/</guid><description>&lt;p&gt;Linux is a multi-user system from the ground up. Your files, other users&amp;rsquo; files, programs and even devices all sit in one tree, and &lt;strong&gt;permissions&lt;/strong&gt; decide who may read, change or run each of them. Get them too loose and anyone can read your SSH keys. Too tight and your web server can&amp;rsquo;t read its own pages.&lt;/p&gt;</description></item><item><title>Create and change hard and symbolic links</title><link>https://aminbytes.dev/bytes/devices-and-filesystems/links/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/devices-and-filesystems/links/</guid><description>&lt;p&gt;Sometimes you want one file to show up in two places. A config that several programs read, the &amp;ldquo;current&amp;rdquo; version of a release, a short name for a long path. Copying would give you two files that drift apart. A &lt;strong&gt;link&lt;/strong&gt; gives you one file with more than one way to reach it.&lt;/p&gt;</description></item><item><title>Find system files and place files in the correct location</title><link>https://aminbytes.dev/bytes/devices-and-filesystems/find-system-files/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aminbytes.dev/bytes/devices-and-filesystems/find-system-files/</guid><description>&lt;p&gt;On Linux, files aren&amp;rsquo;t scattered at random. Config is in &lt;code&gt;/etc&lt;/code&gt;, logs are in &lt;code&gt;/var/log&lt;/code&gt;, programs are in &lt;code&gt;/usr/bin&lt;/code&gt;. That&amp;rsquo;s not just habit: it&amp;rsquo;s written down in the &lt;strong&gt;Filesystem Hierarchy Standard&lt;/strong&gt; (FHS), and nearly every distribution follows it.&lt;/p&gt;</description></item></channel></rss>