From: Eric Wong Date: 2010-06-19T12:13:40+09:00 Subject: [ruby-core:30819] Re: Feature Request: Pathname#freespace Roger Pack wrote: > I've used this method on Java File objects, and think it might be > convenient sometime... > > getTotalSpace() > getUsableSpace() > getFreeSpace() > > Something like that might be swell for ruby. Hi Roger, The sys-filesystem gem provides access to the statvfs(2) syscall and works great in my limited experience with it. -- Eric Wong