So how do I get started on LogFS?
If you are used to compile your own kernel, please proceed. If you don't know what a kernel is, you almost certainly don't want to try out LogFS.
Create a LogFS-capable kernel
Clone the git tree on kernel.org.- 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.Clone mklogfs.
- Compile mklogfs
Create a new filesystem
$ mklogfs /dev/mtd0
$ mklogfs /dev/sdb
$ 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