From: jef knoors (jknoors@zonnet.nl)
Date: Tue Jun 06 2000 - 23:17:27 CEST
Hello you all,
I found a nice way to set up a temp directory without the mkfs.ext2 comand
and its lib's.
It saves you a lot of diskspace/or you can create /tmp before or without
configuring USR.
dd if=/dev/zero of=tempfile bs=1k count=300
mkfs.ext2 tempfile
gzip tempfile
put the tempfile.gz on you base-floppy, after booting it do this:
gzip -d tempfile.gz
cat tempfile /dev/ram3
mount -o loop /dev/ram3 /tmp
The tempfile.gz is only 624 byte !
To make a larger /tmp I tried :
cat tempfile1 tempfile2 > /dev/ram3
mount -o loop /dev/ram3 /tmp
But that doesn't work.
Have fun , share the experience with me, cause I've heard there is a command
te resize the file also.
Jef
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
For additional commands, e-mail: mulinux-help@sunsite.auc.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:14 CET