[openbeos] Re: Cosmoe is back
- From: Bill Hayden <hayden@xxxxxxxxxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Fri, 9 Feb 2007 00:56:35 -0500
On Feb 8, 2007, at 6:51 PM, François Revol wrote:
For some stuff you can use standard libraries.
like there is a library for xattrs that should work in BSD as well
(and
OSX).
As for inotify, BSD has kevents or something...
Also, something BSD has that I do'nt think Linux has is the ability to
open a file from a reference (node_ref in BeOS) BSD has some node ID
stuff (16 byte identifier, can probably stuff a BFS inode inside).
Linux cannot do that because it enforces walking a path before opening
a file, as it maintains dentries to keep inode relationships. At least
last time I checked.
That's why the Haiku build tools in linux have to fake _kopen_vnode_()
or so by keeping around a list of already known vnodes IIRC.
About /proc, well it's just another way around sysctl() you know.
Not that sysctl() itself is really standard anyway...
Believe me, I agree 110%. I'm sure BSD has everything necessary to
work with Cosmoe. The issue is that I don't have time to write
Cosmoe twice. I barely have time to write it once :-) As I've
said, if someone wants to pick up the BSD support, then that would be
great.
Thanks,
Bill Hayden
- References:
- [openbeos] Re: Cosmoe is back
- From: François Revol
Other related posts:
- » [openbeos] Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
- » [openbeos] Re: Cosmoe is back
For some stuff you can use standard libraries.like there is a library for xattrs that should work in BSD as well (and
OSX). As for inotify, BSD has kevents or something... Also, something BSD has that I do'nt think Linux has is the ability to open a file from a reference (node_ref in BeOS) BSD has some node ID stuff (16 byte identifier, can probably stuff a BFS inode inside). Linux cannot do that because it enforces walking a path before opening a file, as it maintains dentries to keep inode relationships. At least last time I checked. That's why the Haiku build tools in linux have to fake _kopen_vnode_() or so by keeping around a list of already known vnodes IIRC. About /proc, well it's just another way around sysctl() you know. Not that sysctl() itself is really standard anyway...
- [openbeos] Re: Cosmoe is back
- From: François Revol