Re: The New Device API (tm)

Ingo Weinhold <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]>
Newsgroups gmane.os.openbeos.storage
Message-ID <[email protected]>
On Thu, 13 Feb 2003, Axel =?iso-8859-1?q?D=F6rfler ?= wrote:

> "Ingo Weinhold" <bonefish-CFLBMwTPW48UNGrzBIF7/[email protected]> wrote:
> > Enjoy  yourself! And try to not break to many bones! ;-)
>
> Done! :-))

What a relief. You know, what the project would be without you. :-P

> > > [... find=3D5Fdirectory]
> > This depends on how the interface (an ioctl() probably) for getting
> > the
> > directory looks like, i.e. whether it returns an absolute or relative
> > path...
>
> I wanted to introduce a new fs hook for it, not just ioctl() - since
> the file system API is not bound on the device API, we are free to add
> as many calls as we might, ioctl() should only be used for some rare
> cases - at least that's what I think.

Yes, right.

> Of course, every fs hook might cost one syscall, but that's not exactly
> an expensive resource.
> Anyway, I come to that soon (the proposed find directory hook) -
> currently (without having thought much about it), I think it will just
> return a fs relative path; the kernel can than build the full path by
> adding the mount point to that.

Sounds good.

CU, Ingo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.