Freshmeat: Virtual Filesystem: Building A Linux Filesystem From An Ordinary File | Linux Today

Freshmeat: Virtual Filesystem: Building A Linux Filesystem From An Ordinary File

Written By
Web Webster
Web Webster
Dec 1, 2004

“You can take a disk file, format it as an ext2, ext3, or reiser
filesystem, and then mount it, just like a physical drive. It’s
then possible to read and write files to this newly-mounted device.
You can also copy the complete filesystem, since it is just a file,
to another computer. If security is an issue, read on. This article
will show you how to encrypt the filesystem and mount it with ACL
(Access Control Lists), which gives you rights beyond the
traditional read (r), write (w), and execute (x) permissions for
the three user groups “file”, “owner”, and “other”.

“This is an excellent way to investigate different filesystems
without having to reformat a physical drive, which means you avoid
the hassle of moving all your data. This method is quick — very
quick compared to preparing a physical device. You can then read
and write files to the mounted device, but what is truly great
about this technique is that you can explore different filesystems
such as reiserfs, ext3, or ext2 without having to purchase an
additional physical drive. Since the same file can be mounted on
more than one mount point, you can investigate sync rates…”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.