Filesystem images with Fuseext2

Notes on using fuseext2

The purpose is to be able to use fuse ext2 to mount and modify ex2 (or ext3) formatted images that may be written to sd or ramdisk without having to require root access. fuse allows users to mount user mode file systems, and fuseext2 is a fuse usermode filesystem.

Creating an empty filesystem

First, lets create a small 1 megabyte image. We will start by creating an empty allocated image by copying /dev/zero with dd:

dd if=/dev/zero of=./testing bs=1042 count=1024

Next, we will format the file system "image" for ext2.

mke2fs ./testing

To access the file system we need to create a directory to act as a mount point:

mkdir ./tester

Next, we can mount the directory as a ext2 fs using fuseext2:

fuseext2 -o rw+ ./testing ./tester

We can use df to verify the filesystem is mounted and valid:

df ./tester

fuseext2 1040 40 948 5% ...


Known issues and limitations with fuseext2 will be listed here.

  • Write support is experimental, some stability issues have been reported
  • You may need to use mount option direct_io even for read stability

ARM/Filesystem images with Fuseext2 (last edited 2010-07-23 12:27:18 by 193)