[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



dd if=/dev/zero of=fs.img bs=1024k count=32
losetup /dev/loop1 ./fs.img
mke2fs -m0 -i 1024 /dev/loop1
mount /dev/loop1 ./fs
cp -dpvR ../template/* ./fs
umount ./fs
losetup -d /dev/loop1
gzip -9 fs.img


On Sat, 2004-02-14 at 12:55, Stephan Uphoff wrote:
> Chris Fowler wrote:
> > I've experienced something weird on 2.6.
> > 
> > We use a loopback device to create a filesystem for our embedded
> > software.  When I'm on 2.4 the image is created fine with ample free
> > space on the ext2 fs.  When I use 2.6 as the script is doing cp -dpvR
> > ../template/* root/  it seems to run out of space on the image.  The cp
> > command can never finished.  This problem has killed my plans on moving
> > to 2.6 anytime soon.
> 
> Are you using the same userland tools on 2.4 and 2.6 ?
> Are you creating the loopback device on the same filesystem?
> Take a look at the different filesystem layouts created by running
> newfs on 2.4 and 2.6.
> You probably have to specify some sane parameters for newfs if the
> defaults no longer work for you.
> 
> 
> 	Stephan


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00495" href="msg00495.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
<ul><li><em>From:</em> ups at tree.com (Stephan Uphoff)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00492" href="msg00492.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
<ul><li><em>From:</em> ups at tree.com (Stephan Uphoff)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00493.html">[ale] OT: One-time use digital cameras</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00495.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00492.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00495.html">[ale] Kernel comparison: Web serving on 2.4 and 2.6</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00494"><strong>Date</strong></a></li>
<li><a href="threads.html#00494"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>