[haiku-development] Re: Writing a filesystem driver

On 2009-10-20 at 12:10:03 [+0800], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> Michael Crawford <mdcrawford@xxxxxxxxx> wrote:
> > On Mon, Oct 19, 2009 at 6:58 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx
> > > wrote:
> > > Mercurial uses hard links for very cheap branching. So even if it
> > > does
> > > not require them, it would be nice to use them.
> > A workaround would be to mount an image of a filesystem that does
> > support hard links.  If that could be done, is there API that enables
> > one to create them?
> 
> The userland API is in place, of course (as well as the "ln" command),
> but AFAICT there is no r/w file system for Haiku that actually supports
> them.

My RamFS does, but it hasn't been updated to the current FS interface yet. 
IIRC, NTFS supports hard links, too, but in our module the hook is not 
implemented.

CU, Ingo

Other related posts: