From: Rik Hemsley Date: 2002-01-02T03:45:52+09:00 Subject: [ruby-talk:29976] Re: How to check free diskspace? #if Martin v. Loewis > Rik Hemsley writes: > > > > This is ugly. > > > > Blame POSIX for not defining something useful... or not, because it's > > pretty hard to come up with something generic. > > What's wrong with statvfs(2)? rik@without ruby > uname; apropos statvfs Linux statvfs: nothing appropriate. rik@without ruby > ssh geoid 'uname; apropos statvfs' OpenBSD statvfs: nothing appropriate Rik