Re: new filesystem module



On 26 Nov, 16:25, Joe Pfeiffer <pfeif...@xxxxxxxxxxx> wrote:
ste.paole...@xxxxxxxxxx writes:
I'm working on kernel 2.2.26. I'm trying to add a new filesystem
module, this filesystem is mainly the ext2 one but i'd want to add
some new features, as the possibility to log file actions.
I have some questions.
What are the steps for adding a new filesystem?
how to clone ext2 filesystem and working on this copy easily ?

Depending on the details of what you're trying to do and why you're
trying to do it, using FUSE to create a logging filesystem is
straightforward (it's what I did as my first experiment learning how
to use FUSE), and has the bonus that it isn't tied to an underlying
filesystem design.

we already looked at the FUSE solution but we should work in kernel
space,
we can get everything working right because we are not able to compile
the ext2 copy
any suggestion?

thanks
.



Relevant Pages

  • [patch] document that ext2 cant handle barriers
    ... Document things ext2 expects from storage filesystems, ... prior to writing them into the filesystem. ... -the time of a crash. ... If a transaction is complete at the time of a crash ...
    (Linux-Kernel)
  • Re: [patch] ext2/3: document conditions when reliable operation is possible
    ... The problem is that flash cards destroy whole erase block on unplug, ... and ext3 can't cope with that. ... So the way ext2 deals with the flash media actually matches what ... this isn't a filesystem specific cliam; ...
    (Linux-Kernel)
  • [RFC/PATCH 3/5] ext2: execute in place (V2)
    ... This patch adds support for execute in place in ext2. ... MODULE_DESCRIPTION("Second Extended Filesystem"); ...
    (Linux-Kernel)
  • Re: Please help me connect my external hard usb drive!
    ... know the only filesystem which all OSs can read and write is vfat, ... There is a working ext2 driver for Windows, so that could be an option ... As for the Windows ext2 drivers with write support, ... FreeBSD - not use journalling. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Backing up
    ... I was thinking about using rdiff-backup to do incremental backups and ext2 ... type filesystem, as I don't use windows at all. ... If you want to access these files from Windows or some other ...
    (freebsd-questions)