From: martin@... (Martin v. Loewis) Date: 2002-01-04T11:51:56+09:00 Subject: [ruby-talk:30176] Re: How to check free diskspace? Rik Hemsley writes: > Can't find it in OpenBSD's includes. > > So, nice that it exists, but if it doesn't work cross-platform, it's > pretty useless. If it's a POSIX standard, it's OpenBSD's fault. It is a POSIX standard function; and yes, it is a well-known problem that BSD doesn't follow the relevant standards here. BSD traditionally supports statfs(2) instead. It would be possible to synthesize an API that provides the common subset; this subset does include free diskspace information. Regards, Martin