Re: setting up a /tmp

From: jef knoors (jknoors@zonnet.nl)
Date: Wed Jun 07 2000 - 14:29:36 CEST


It's nice to hear that, I also tought about a tar file containing serveral
tempfiles:
300kb, 600 kb, 1000kb and 2000kb so we can choose from that.
All kinds of combination of course are possible.
There must be enough inodes on the file, I recon you know about those
details .
Jef

----- Original Message -----
From: Michele Andreoli <m.andreoli@tin.it>
To: <mulinux@sunsite.auc.dk>
Sent: Wednesday, June 07, 2000 8:32 AM
Subject: Re: setting up a /tmp

> On Tue, Jun 06, 2000 at 11:17:27PM +0200, jef knoors nicely wrote:
> > 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.
>
> He-he: you know deeply the problem.
>
> >
> > 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 !
>
> Very intelligent solution. I think, we can eliminate also the loop
> device: with
>
> gzip -d tempfile > /dev/ram3
> mount /dev/ram3 /tmp
>
> This work perfectly, because tempfile is complete filesystem.
> Using this genial trick, I can remove libext2 from ROOT, moving
> it in highly compressed USR.
>
>
> Michele
> --
> I'd like to conclude with a positive statement, but I can't
> remember any. Would two negative ones do? -- Woody Allen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.auc.dk
> For additional commands, e-mail: mulinux-help@sunsite.auc.dk
>

---------------------------------------------------------------------
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