bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: e2fslibs for ext2fs?


From: Marcus Brinkmann
Subject: Re: e2fslibs for ext2fs?
Date: Sat, 16 Aug 2003 04:33:14 +0200
User-agent: Mutt/1.5.4i

On Sat, Aug 16, 2003 at 02:19:15AM +0000, Robert Millan wrote:
> On Thu, Aug 14, 2003 at 09:03:20PM +0200, Marco Gerards wrote:
> > 
> > Ext2fs doesn't have a mkdir like function. It is all in libdiskfs. See
> > ext2fs/dir.c to find  out how it works. Same for most other functions
> > you talk about.
> > 
> > file_read doesn't exists for example. What libdiskfs does is using the
> > file pager to read the file contents.
> 
> ok.. will have a look.

I guess it might be possible to implement a limited Hurd filesystem under
the library interface you mentioned (limited means, for example without
io_map), but it will likely not be complete, possibly not standard
conformant (for example with regards to timestamp counts) and definitely not
fast.

Note that I mentioned io_map and that its implementation will not be helped
at all by such a simple library.  That includes large file support.  Large
filesystems might trivially be supported by such a library if it always
accesses the store directly, without any mapping.  No mapping however means
no cache, and that's where your performance is saying good bye.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]