The Plastic File System

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++

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  06 Jul 2007 10:30
  • Rrelease-after

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

  • Rrelease-mid
  •  06 Jul 2004 04:05
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  02 Mar 2003 21:24
  • Rrelease-after

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

  • Rrelease-mid
  •  03 Feb 2003 01:59
  • Rrelease-after

Changes: 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.

  • Rrelease-mid
  •  23 Jan 2003 20:43
  • Rrelease-after

Changes: 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.

Rss Recent comments

Rcomment-before 26 Jan 2003 09:19 Rcomment-trans mrchuoi Rcomment-after

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

No-screenshot

Project Spotlight

Hop

A programming environment for the Web 2.0.

1e6955d76263a2e1433de9ce40ca1625_thumb

Project Spotlight

dd_listmsgs

A program that shows message headers in DayDream BBS messagebases.