Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Dumb file system storing its file as little parts, permitting seek inside bigfile over system that does not permit it, like FTP
Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
omgffs.py

README

Mount a backend directory as a single big file and let you play with
loop devices on it (or thatever you want).
Can be used to mount a FTP like this :
 * Mount FTP with curlftpfs
 * Mount a Big File with OmgFFS inside the FTP
 * Build a loop on the big file
 * Format the loop (ext3, whateveryouwant)
 * Mount the loop, and enjoy ext3 over FTP

You can use cryptsetup to crypt your ftp (so transfers
AND remote will be crypted) :
Setup :
$ mkdir bigfile
$ ./omgffs.py bigfile -o size=10000000,backend=raw
$ losetup /dev/loop1 bigfile/raw
$ cryptsetup luksFormat -c aes-xts-plain -s 512 /dev/loop1
$ cryptsetup luksDump /dev/loop1
$ cryptsetup luksOpen /dev/loop1 test1
$ mkfs.ext3 /dev/mapper/test1
$ mount /dev/mapper/test1 /mnt

Unmount :
$ umount /mnt
$ cryptsetup luksClose test1
$ losetup -d /dev/loop1
$ fusermount -u bigfile

Remount :
$ ./omgffs.py bigfile -o size=10000000,backend=raw
$ losetup /dev/loop1 bigfile/raw
$ cryptsetup luksOpen /dev/loop1 test1
$ mount /dev/mapper/test1 /mnt
Something went wrong with that request. Please try again.