Matt Curtin wrote:
> 
> [I sent this on Friday, but apparently I got unsubscribed from the
> list recently and the post didn't make it.  So if you're seeing a
> duplicate somehow, that's what's happened, and sorry in advance.]

It did make.  Just didn't respond. :-(
> 
> Am I missing something that gives me what I need?  I see all of the
> other filesystem calls like stat(2), access(2), and friends, but this
> doesn't help much when I need the program to see how much total space
> a filesystem has and how much is available.

If you didn't find it, it's probably not there.
> 
> It looks to me like CMUCL doesn't provide the access to the data I
> need right now and that the Right Solution is to implement the
> filesystem calls needed.  Initially, I'd think they should be in the
> UNIX package, but since that will vary between BSD and System V
> variants, this could create a situation where Lisp code that talks to
> the filesystem would need not just to check for CMU but also which
> Unix it's on, which seems silly.  Maybe something should be
> implemented in EXTENSIONS to provide a consistent interface to
> filesystem metadata, so at least the Lisp code that talks to the
> filesystem can be consistent across Unices.
> 
> Is this correct?  Has anyone else dealt with this?

I think this is the right approach:  Add the necessary underlying Unix 
calls in the UNIX package and then add something to EXTENSIONS to make 
it uniform.  If the information returned from all systems is the same, 
then perhaps it could also be in the UNIX package itself.

We'd be happy to take patches. :-)

Ray

> 



Reply via email to