Would you recommend me a mature fuse filesystem, which uses a single file as backing storage, and could self-growing in size?are quite unmature.
It's like using a fuse ext4 filesystem, just that with self-growing - I tried the fuse ext4 filesystem, but it seems that fuse ext4 filesystem requires the user to set up a 'disk size' at the beginning, and could not automatically grow.
I would like the fuse filesystem to automatically grow as new files are added in, just like how a SQLite database would grow as new records being inserted. I have found quite a lot of projects seem to meet this function, but seems that those projects
In summary, I am looking for a fuse filesystem that:source is required.
1. Uses a single file as backing storage, like how SQLite uses one single file for the database.
2. Is mature - if it is listed in the Debian package list that could be queryed with 'apt search', I guess it should be quite mature and reliable - however, it would be totally fine if the project isn't available as packaged binary and building from
It would be totally okay if the filesystem temporaily creates files other than the one files it uses as storage - just like how SQLite generates temporary WAL or journal files during database I/O. Just having only one file as storage 'most of the time'would be good.
Hi!
Would you recommend me a mature fuse filesystem, which uses a single
file as backing storage, and could self-growing in size?
It's like using a fuse ext4 filesystem, just that with self-growing -
I tried the fuse ext4 filesystem, but it seems that fuse ext4
filesystem requires the user to set up a 'disk size' at the beginning,
and could not automatically grow.
I would like the fuse filesystem to automatically grow as new files
are added in, just like how a SQLite database would grow as new
records being inserted. I have found quite a lot of projects seem to
meet this function, but seems that those projects are quite unmature.
It would be great if you know that there is a mature one. However, I
haven't found one listed in the Debian package system by trying some
'apt search' commands. During this process, I found a fuse filesystem
called gocryptfs, which seems to be really mature, and could
automatically grow as new files added in - however, gocryptfs stores
in a folder with multiple files, instead of storing all the filesystem
in one single file like SQLite.
In summary, I am looking for a fuse filesystem that:
1. Uses a single file as backing storage, like how SQLite uses one
single file for the database.
2. Is mature - if it is listed in the Debian package list that could
be queryed with 'apt search', I guess it should be quite mature and
reliable - however, it would be totally fine if the project isn't
available as packaged binary and building from source is required.
It would be totally okay if the filesystem temporaily creates files
other than the one files it uses as storage - just like how SQLite
generates temporary WAL or journal files during database I/O. Just
having only one file as storage 'most of the time' would be good.
I would like the fuse filesystem to automatically grow as new files
are added in, just like how a SQLite database would grow as new
records being inserted.
The nearest I can think of is growisofs.
But if, instead, what you want is the backing store to grow then use a
sparse file as the backing store.
# truncate -s 1T filedisk space.
# mke2fs -t ext4 file
That's a 1T ext4 filesystem that is, when empty, using around 20M of
I have found quite a lot of projects seem to meet this function, but
seems that those projects are quite unmature.
On 08/03/2025 19:31, Miriami wrote:
Would you recommend me a mature fuse filesystem, which uses a single
file as backing storage, and could self-growing in size?
Qemu's qcow2 disk images may grow in size while initially they may be
smaller than size exposed to virtual machines. However likely there is no fuse module. I have seen a suggestion to use network block device to mount
an image without starting a VM.
But if, instead, what you want is the backing store to grow then use a
sparse file as the backing store.
This idea reduces the search to filesystems which don't hop around and
write without need to new random places on their storage medium.
# truncate -s 1T filedisk space.
# mke2fs -t ext4 file
That's a 1T ext4 filesystem that is, when empty, using around 20M of
Question is how its "du" size grows when you put a few files into it, overwrite their content, rename and copy them.
About the projects I've found - I searched with
three terms on GitHub - 'sqlite', 'fs' and
'fuse'. It is surprisingly large number of
projects come up with the same idea of using
SQLite as a backing file system storage.
700+ lines of pull request about upgrading
the Rust library used by the project and updating
the API calls to meet the new library version.
As a result, I decide that I would go and try
with ext4. I would firstly put some files in
and see how much the image grows physically.
I guess it won't overgrow - ext4 doesn't
store files for extra copies, right? I guess
the sparse file mechanism would work fine.
I need to fuse a virtual
filesystem for the poor Debian on that device,
with backing storage on the NTFS partition
visible for Windows.
[...]
Due to this, I come up with the idea of only
leaving *one* file visible to the Windows
system - that disk-scanning software - so that
there would be less trouble.
that
commercial software frequently performs
full-disk scan 'for the sake of user security'.
visible for Windows. The awful part is that,
I need to run a commercial software on
the Windows system of that device, and that
commercial software frequently performs
full-disk scan 'for the sake of user security'.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 146:12:51 |
| Calls: | 12,089 |
| Calls today: | 2 |
| Files: | 15,000 |
| Messages: | 6,517,501 |