🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ch.comp.os.linux
Article #19502

Re: komprimieren in einer Image-Datei

#19502
From: Michael Keller
Date: Sat, 18 Dec 1999 00:00
45 lines
2475 bytes
Hi Mike.

"M. Voegtli" wrote:
> ich vergass leider eine wichtige Sache,
> das ganze soll on-the-fly gehen, und zwar nicht nur vom
> User aus gesteuert, sondern von jedem Programm aus, welches
> Dateizugriffe macht.

Du willst also so quasi ein ganzes Filesystem so quasi komprimiert
mounten (so in der Art, wie das bei Windows mit DoubleSpace gemacht
wurde)?

Dass so etwas direkt 'on the fly' unterstuetzt wuerde, ist mir nicht
bekannt. Zwei fuer Dich moeglicherweise gangbare Wege waeren aber:

- loopback block device:
Saying Y here will allow you to use a regular file as a block device;
you can then create a file system on that block device and mount it just
as you would mount other block devices such as hard drive partitions,
CDROM drives or floppy drives.

Damit koenntest Du ein entsprechendes File als Filesystem anlegen, Deine
Dateien darin ablegen, und nach dem unmounten das file komprimieren.

- RAM disk:
Saying Y here will allow you to use a portion of your RAM memory as a
block device, so that you can make filesystems on it, read and write to
it and do all the other things that you can do with normal block devices
(such as hard drives). It is usually used to load and store a copy of a
minimal root file system off of a floppy into RAM during the initial
install of Linux.

Hiermit koenntest Du im RAM ein Filesystem fuer Deine Dateien anlegen,
und dieses dann nach Gebrauch in globo komprimieren und in eine Datei
schreiben.

Beide Optionen koennen uebrigens im Kernel unter 'Block devices'
aktiviert werden, dort findest Du auch weitere Hilfestellungen dazu.

hth & Gruss
  Michael Keller
-- 
GCS/CC/E/IT d- s+: a- C++ UL++++>$/S++ P+ L+++>$
E---(-) W++ N+++ o? K? !w O(++) M- V !PS !PE Y?
PGP+ t 5? X R !tv b++ DI+ D++ G e>+++ h-- r++ y+
Technical Details
Message-ID: <385B9F1B.9FF75B4F@iiic.ethz.ch>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <385ac94b.2808748@news.datacomm.ch> <15em5s8r8l5spf5vl1fopj1qbu1ttuunbj@4ax.com> <385b92cc.1886102@news.datacomm.ch>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit
X-Google-Thread: f4b73,2329dc20f0d6f255
X-Google-Attributes: gidf4b73,public
From: Michael Keller <mikeller@iiic.ethz.ch>
Subject: Re: komprimieren in einer Image-Datei
Date: 1999/12/18
Message-ID: <385B9F1B.9FF75B4F@iiic.ethz.ch>
X-Deja-AN: 562329081
Content-Transfer-Encoding: 7bit
References: <385ac94b.2808748@news.datacomm.ch> <15em5s8r8l5spf5vl1fopj1qbu1ttuunbj@4ax.com> <385b92cc.1886102@news.datacomm.ch>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 945528604 33314 129.132.134.203 (16 [7321])
Organization: FIFO
Mime-Version: 1.0
Newsgroups: ch.comp.os.linux