From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,b68d4e055fab1c05,start X-Google-Attributes: gid10d4db,public X-Google-ArrivalTime: 1993-05-20 06:33:31 PST Newsgroups: comp.os.linux.announce Path: gmd.de!newsserver.jvnc.net!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!uunet!news.tele.fi!news.funet.fi!hydra!klaava!wirzeniu From: almesber@nessie.cs.id.ethz.ch (Werner Almesberger) Subject: Kernel-based Inheriting File System (IFS), experimental release 3 Message-ID: <1993May20.130520.3646@klaava.Helsinki.FI> Followup-To: comp.os.linux Keywords: filesystem, inheriting, ifs, experimental Sender: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH Date: Thu, 20 May 1993 13:05:20 GMT I've uploaded a new version of the kernel-based Inheriting File System (IFS) to tsx-11.mit.edu:/pub/linux/ALPHA/ifs and sunsite.unc.edu:/pub/Linux/Incoming The file is named ifs.3.tar.Z This is the same version of IFS that is also part of SLS 1.02. IFS allows one to mount a "pack" of file systems, where "upper" file systems inherit files from the "lower" layers. Changes are performed only on the top level file system. IFS is similar to Sun's TFS. IFS is still experimental, although it is a lot more stable than the first public release I've made last year. IFS can be added to 0.99pl8 and 0.99pl9 kernels. I'm also working on a user mode implementation of IFS, because I don't like the complexity of the kernel-based IFS. I've attached the first section of the README. - Werner ----------------------------------- README ------------------------------------ Kernel-based Inheriting File System (IFS), experimental release 3 ================================================================= * WARNING * WARNING * WARNING * WARNING * WARNING * WARNING * WARNING * WARNIN THIS CODE IS EXPERIMENTAL AND HAS KNOWN BUGS. USE AT YOUR OWN RISK. BE PREPARED TO EXPERIENCE FILE SYSTEM CORRUPTION AND TO RESTORE YOUR SYSTEM FROM BACKUP MEDIA IF USING THIS CODE. G * * WARNING * WARNING * WARNING * WARNING * WARNING * WARNING * WARNING * WA Concept ------- The Inheriting File System (IFS) provides a means to mount a "pack" of layered directories where upper layers "inherit" files from lower layers. Upper layers can also "override" files present in lower layers and the top layer can even hide ("whiteout") files of lower layers. If write operations are performed on such a pack, they are always carried out on the top layer. Directory paths and files are duplicated ("cloned") from lower layers if necessary. This concept is vaguely based on Sun's translucent file service (TFS). IFS can be used for the following applications (among others): - make read-only media (e.g. CD-ROMs) pseudo-writable - make local writable copies of a common precious source (e.g. a common source tree used by several programmers) - "map" several directories to a single directory (e.g. /usr/bin) - perform loopback mounts I'd like to point out that most of this can also be done in a similar way using symbolic links. Whiteout entries are empty regular files in a directory ... at the top layer. Whiteout entries on lower layers of a pack are ignored. An empty directory in a ... directory indicates that the corresponding directory should not inherit files from lower layers. The current implementation assumes that sparse trees are mounted on top of a tree that contains most of the files. For extremely opposite cases, a depth-first search would be faster. -- _________________________________________________________________________ / Werner Almesberger, ETH Zuerich, CH almesber@nessie.cs.id.ethz.ch / /_IFW_A44__Tel._+41_1_254_7213__________________almesber@bernina.ethz.ch_/