<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Create_a_filesystem_on_a_file</id>
	<title>Create a filesystem on a file - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Create_a_filesystem_on_a_file"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Create_a_filesystem_on_a_file&amp;action=history"/>
	<updated>2026-05-04T21:31:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Create_a_filesystem_on_a_file&amp;diff=1040&amp;oldid=prev</id>
		<title>David: Created page with &quot;Hack to show the PCM installer a /depot directory after the OS paritioning has been completed.  == Create the file for the FS == &lt;syntaxhighlight&gt; # 20GB file  dd if=/dev/zero of=/home/d...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Create_a_filesystem_on_a_file&amp;diff=1040&amp;oldid=prev"/>
		<updated>2012-10-02T15:11:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Hack to show the PCM installer a /depot directory after the OS paritioning has been completed.  == Create the file for the FS == &amp;lt;syntaxhighlight&amp;gt; # 20GB file  dd if=/dev/zero of=/home/d...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Hack to show the PCM installer a /depot directory after the OS paritioning has been completed.&lt;br /&gt;
&lt;br /&gt;
== Create the file for the FS ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
# 20GB file &lt;br /&gt;
dd if=/dev/zero of=/home/depot.fs bs=1M count=20000&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Create the file system on the file ==&lt;br /&gt;
You will get warned that the system is not a block device, just say &amp;#039;y&amp;#039;&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@icrhead home]# mkfs depot.fs &lt;br /&gt;
mke2fs 1.41.12 (17-May-2010)&lt;br /&gt;
depot.fs is not a block special device.&lt;br /&gt;
Proceed anyway? (y,n) y&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Mount the new filesystem ==&lt;br /&gt;
Include &amp;lt;tt&amp;gt;-o loop&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
[root@icrhead home]# mount -o loop depot.fs /depot/&lt;br /&gt;
[root@icrhead home]# df -h&lt;br /&gt;
Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;
[snip]&lt;br /&gt;
/home/depot.fs         20G   44M   19G   1% /depot&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>David</name></author>
	</entry>
</feed>