So how do I get started on LogFS?
Using LogFS is not particularly hard. Just follow these steps:
Create a LogFS-capable kernel
Download the latest stable kernel from kernel.org and apply the LogFS patches. Configure, compile and install the kernel as usual.- Boot the new kernel.
[Optional] Create an MTD device.
If you don't know what an MTD device is, please take a look at infradead.org.Download mklogfs
You can find this on the patches page as well. For platforms other than i386 you have to compile it from source.Create a new filesystem
$ mklogfs /dev/mtd0
$ mklogfs /dev/sda
$ mklogfs logfs.image
Mklogfs work on either mtdchar devices, block devices or regular files. The latter is useful for qemu disk images, for example.Mount the filesystem.
For MTD use a command line like this one:
$ mount mtd0 /mnt -t logfs
Or the equivalent for a block device:
$ mount /dev/hdb /mnt -t logfs