Electronic Proceedings in Theoretical Computer Science (Nov 2012)

A Formal Model of a Virtual Filesystem Switch

  • Jörg Pfähler,
  • Wolfgang Reif,
  • Dominik Haneberg,
  • Gerhard Schellhorn,
  • Gidon Ernst

DOI
https://doi.org/10.4204/EPTCS.102.5
Journal volume & issue
Vol. 102, no. Proc. SSV 2012
pp. 33 – 45

Abstract

Read online

This work presents a formal model that is part of our effort to construct a verified file system for Flash memory. To modularize the verification we factor out generic aspects into a common component that is inspired by the Linux Virtual Filesystem Switch (VFS) and provides POSIX compatible operations. It relies on an abstract specification of its internal interface to concrete file system implementations (AFS). We proved that preconditions of AFS are respected and that the state is kept consistent. The model can be made executable and mounted into the Linux directory tree using FUSE.