Re: setting up a /tmp

From: jef knoors (jknoors@zonnet.nl)
Date: Thu Jun 08 2000 - 22:10:55 CEST


Thanks Karl,
I could use that .
Jef

PS: where did your signature go? I liked it, but maybe you'll send us a
beter one.
----- Original Message -----
From: Karl-Heinz Zimmer <khz@snafu.de>
To: <mulinux@sunsite.auc.dk>
Sent: Thursday, June 08, 2000 10:32 PM
Subject: Re: setting up a /tmp

Hallo Jef

am Donnerstag, 08 Jun 2000 schriebst Du:

> I tried the sugested command:
> gzip -d tempfile > /dev/ram3
> In theorie it might work, practically it doesn't.
> cat tempfile > /dev/ram3
> works O.K.
>
> Can anybody explain the difference to me?

The difference is this:

   gzip -d tempfile > /dev/ram3

lets gzip decompress the tempfile (and while doing so
*replaces* the old tempfile by it's decompressed version)
and write it's C O M M E N T S to /dev/ram3 instead of
just sending them to stdout .

But you wanted something completely different: you wanted
to have the decompressed F I L E send to /dev/ram3
- not just the comments.

Try this:

   gzip -cd tempfile > /dev/ram3

I am not sure about it but I hope this will work fine.
(Parameter -c tells it to write the decompressed
 file to stdout so the > should be able to
 send it to /dev/ram3 .)

Karl-Heinz

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