<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Ext4</id>
	<title>Ext4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nixos.org/w/index.php?action=history&amp;feed=atom&amp;title=Ext4"/>
	<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Ext4&amp;action=history"/>
	<updated>2026-05-08T18:11:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.0</generator>
	<entry>
		<id>https://wiki.nixos.org/w/index.php?title=Ext4&amp;diff=21825&amp;oldid=prev</id>
		<title>Pigs: create ext4 page</title>
		<link rel="alternate" type="text/html" href="https://wiki.nixos.org/w/index.php?title=Ext4&amp;diff=21825&amp;oldid=prev"/>
		<updated>2025-05-24T19:36:13Z</updated>

		<summary type="html">&lt;p&gt;create ext4 page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Ext4 is a widely used journaling [[filesystems|filesystem]] for Linux.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
In NixOS, Ext4 can be specified when formatting partitions during installation. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;console&amp;quot;&amp;gt; &lt;br /&gt;
# mkfs.ext4 /dev/sdX1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And configured in your system configuration like so:&lt;br /&gt;
&lt;br /&gt;
{{file|/etc/nixos/configuration.nix|nix|&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
fileSystems.&amp;quot;/&amp;quot;.device = &amp;quot;/dev/disk/by-uuid/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&amp;quot;;&lt;br /&gt;
fileSystems.&amp;quot;/&amp;quot;.fsType = &amp;quot;ext4&amp;quot;;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Replace the UUID or device path with your actual partition identifier.&lt;br /&gt;
&lt;br /&gt;
== Tools ==&lt;br /&gt;
&lt;br /&gt;
Some common tools that are installed by default on NixOS for working with the Ext4 filesystem as part of the {{nixos:package|e2fsprogs}} package:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;e2fsck&amp;lt;/code&amp;gt;: check and repair the file system&lt;br /&gt;
* &amp;lt;code&amp;gt;tune2fs&amp;lt;/code&amp;gt;: adjust tunable file system parameters&lt;br /&gt;
* &amp;lt;code&amp;gt;resize2fs&amp;lt;/code&amp;gt;: file system resizer&lt;br /&gt;
&lt;br /&gt;
[[Category:Filesystem]]&lt;/div&gt;</summary>
		<author><name>Pigs</name></author>
	</entry>
</feed>