Return to BSD News archive
Newsgroups: comp.os.linux.development.system,comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.nla.gov.au!act.news.telstra.net!psgrain!newsfeed.internetmci.com!in2.uu.net!news.gtn.com!nuki.NetUSE.de!white.schulung.netuse.de!kris From: kris@schulung.netuse.de (=?ISO-8859-1?Q?Kristian_K=F6hntopp?=) Subject: Re: Ideal filesystem Sender: kris@white.schulung.netuse.de (Kristian Koehntopp) Organization: =?ISO-8859-1?Q?entf=E4llt?= Message-ID: <DoKoCM.216@white.schulung.netuse.de> References: <4gejrb$ogj@floyd.sw.oz.au> <3140C968.20699696@netcom.com> <4ia7im$i4m@usenet.srv.cis.pitt.edu> <4if9gb$4kh@park.uvsc.edu> <4iibd2$ng@EARTH.baylor.edu> <4ik9q9$lfg@library.erc.clarkson.edu> Mime-Version: 1.0 Date: Wed, 20 Mar 1996 15:29:09 GMT X-Copyright: (C) Copyright 1996 Kristian Koehntopp -- All rights reserved. Lines: 31 Xref: euryale.cc.adfa.oz.au comp.os.linux.development.system:19733 comp.unix.bsd.freebsd.misc:15745 komarimf@craft.camp.clarkson.edu (Mark Komarinski) writes: >: The ext2 filesystem already has feilds for this. unfortuatly they >: aren't used yet >Last I heard, there were hooks in ext2fs for file-by-file compression as well. >And undelete (or was it protection from deletion?) functionality as well. ext2 has a file attribute for file compression. The whole support for this at the moment (1.3.76 kernel) is a single bit in each i-node and two ioctl() calls to manipulate them., there is no compression code yet. The ext2 attributes are a (apped only file), c (file is stored in compressed form on disk), d (file will be ignored by dump(8)), i (file is immutable), s (file will be wiped on deletion), S (all file updates are sychronous) and u (file will be stored in an undelete directory upon deletion). ext2 also has a reserved special i-node for an undelete directory (number 6) and a special filed dtime to store the time_t of the file deletion. There is no further support for undelete so far. See the manual page for lsattr/chattr and /usr/include/linux/ext2*.h for details. Kristian -- Kristian Koehntopp, Wassilystrasse 30, 24113 Kiel, +49 431 688897 Fachbegriffe der Informatik einfach erklaert, Teil 2: "objektorientiert" == "Den Code habe ich von meinem Vorgaenger geerbt."