Gibt es die möglichkeit wie W2K eine verzeichniss zu komprimieren, und direkt drauf zuzugreifen ? Also nicht über den umweg über ein tar/zip archiv?
Ich möchte gerne verzeichnisse per rsync clonen, und etwas plattenplatz sparen.
Hat jemand eine idee ?
Folder on-the-fly komprimieren?
-
- Userprojekt
- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
Re: Folder on-the-fly komprimieren?
Je nach Filesystem:
Da ein Verzeichnis letztendlich nichts anderes ist als ein File dürfte auch das gehen...hab's aber nicht getestet.man chattr wrote: A file with the `c' attribute set is automatically compressed on
the disk by the kernel. A read from this file returns uncompressed
data. A write to this file compresses data before storing them on
the disk.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
-
- Project Manager
- Posts: 11165
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Folder on-the-fly komprimieren?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 77
- Joined: 2002-06-17 11:39
Re: Folder on-the-fly komprimieren?
Ich hab's ausprobiert. Leider ändert sich am füllstand der platte nichts, wenn ich verzeichnisse mit "c" markiere. Ich habe sogar "umkopiert".CaptainCrunch wrote:Je nach Filesystem:
Da ein Verzeichnis letztendlich nichts anderes ist als ein File dürfte auch das gehen...hab's aber nicht getestet.man chattr wrote: A file with the `c' attribute set is automatically compressed on
the disk by the kernel. A read from this file returns uncompressed
data. A write to this file compresses data before storing them on
the disk.
Mache ich was falsch ? Muss man noch was dabei beachten ?
-
- Posts: 38
- Joined: 2004-03-12 06:51
Re: Folder on-the-fly komprimieren?
Man sollte Manpages schon bis zum Ende lesen. ;-)BUGS AND LIMITATIONS
The `c', 's', and `u' attributes are not honored by the ext2 and ext3
filesystems as implemented in the current mainline Linux kernels.
These attributes may be implemented in future versions ext2 and ext3.
-
- Userprojekt
- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
Re: Folder on-the-fly komprimieren?
1. Sagte ich ja "je nach Filesystem", undMan sollte Manpages schon bis zum Ende lesen.
2. kommt's dabei nun mal auf's Setup an.
;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
-
- Posts: 77
- Joined: 2002-06-17 11:39
Re: Folder on-the-fly komprimieren?
Also kann ich davon ausgehen, das -ohne änderung des fs- es nicht möglich ist!? Komisch, wobei das doch eher simpel erscheint.
Schön wäre, wenn man z.b. eine archivdatei irgendwie in einen verzeichniss mounten könnte.
Schön wäre, wenn man z.b. eine archivdatei irgendwie in einen verzeichniss mounten könnte.
-
- Project Manager
- Posts: 11165
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Folder on-the-fly komprimieren?
man mount (loop/bind)
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 77
- Joined: 2002-06-17 11:39
Re: Folder on-the-fly komprimieren?
Hmm, sorry aber ich kapiers nicht. Wie schaffe ich es denn das über loop zu mounten ? Hättest du mal ein kleines beispiel für mich !?
-
- Posts: 77
- Joined: 2002-06-17 11:39
Re: Folder on-the-fly komprimieren?
Darf ich mal fragen, ob es hierzu neuerungen gibt?
-
- Userprojekt
- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
Re: Folder on-the-fly komprimieren?
Sofern du in der Hinsicht nichts mehr probiert hast wohl nichts. Oder willst du jetzt alles in fein säuberlichen Häppchen vorgekaut bekommen?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
-
- Posts: 77
- Joined: 2002-06-17 11:39
Re: Folder on-the-fly komprimieren?
Naja, vieleicht gäbe es ja neuerungen dazu. Unter Windows ist das alles scheinbar überhaupt kein problem. Verstehe ich nicht, warum unter linux das nicht p-n-p geht!?
-
- Posts: 3840
- Joined: 2003-01-21 01:59
- Location: Sinsheim/Karlsruhe
Re: Folder on-the-fly komprimieren?
Damit Leute wie CC was zum basteln haben und Leute wie du davon abgehalten werden, ihr System zu zerschiessen.Verstehe ich nicht, warum unter linux das nicht p-n-p geht!?
SCNR