From: Rik Hemsley Date: 2002-01-01T09:51:30+09:00 Subject: [ruby-talk:29921] Re: How to check free diskspace? #if Le Wang > aargh, > > `df #{Dir.pwd}`.split("\n")[1].split[1] > > it is then. > > This is ugly. Blame POSIX for not defining something useful... or not, because it's pretty hard to come up with something generic. Rik