The Plastic File System is an LD_PRELOAD module for manipulating what the file system looks like for programs. This allows virtual file systems to exist in user space, without kernel hacks or modules.
| Tags | Filesystems |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX Linux |
| Implementation | C++ |
Recent releases


Release Notes: Problems with errno have been fixed. Build problems on 64-bit systems have been fixed. Build problems with locks have been fixed.


Release Notes: A bug has been fixed in the viewpath filter's readdir function; it now correctly deals with .whiteout and removed entries. The code has been updated to compile under GCC 3.4. A bug has been fixed in the 64-bit file locking; not all fcntl(2) commands were handled.


Release Notes: In this version, a bug which caused a segfault has been fixed. Several GCC 3.2 build problems have been fixed.


Release Notes: This release adds a DOS file system filter to imitate DOS 8.3 file names, and a shortname file system filter, to imitate Version 7 Unix 14-character file names. It fixes the segfault bug on Debian, and probably other distros as well, and adds intercepts for the truncate system calls.


Release Notes: Several build problems have been fixed. A problem has been fixed which caused recent versions of GNU find to work incorrectly. The problem which caused the chroot filter to constantly print an error message has been fixed. A statfs(2) intercept has been added, so the df(1) command is happier. The nocase, upcase, downcase, and titlecase file system filters have been added.
Recent comments
26 Jan 2003 09:19
1.4 bug
- Linux From Scratch, gcc 3.2.1, glibc 2.3.1
[chuoi@venus chuoi]$ export PLASTICFS="chroot /home/chuoi/a | viewpath /home/chuoi/a /"
[chuoi@venus chuoi]$ LD_PRELOAD=/home/chuoi/lib/libplasticfs.so bash
bash: relocation error: /home/chuoi/lib/libplasticfs.so: undefined symbol: __gxx_personality_v0
[chuoi@venus chuoi]$
- Knoppix, gcc version 2.95.4 20011002 (Debian prerelease), glibc 2.2.5
chuoi@venus:~$ export PLASTICFS="chroot /home/chuoi/a | viewpath /home/chuoi/a /"
chuoi@venus:~$ LD_PRELOAD=/home/chuoi/lib/libplasticfs.so bash
Segmentation fault
chuoi@venus:~$ ls a
dev etc home proc
chuoi@venus:~$
HTH