From: Mark Hahn Date: 2002-01-01T07:04:21+09:00 Subject: [ruby-talk:29902] RE: How to check free diskspace? In both Ruby and Java, space-checking in volumes is missing. For Java I had to write a different native extension for each platform. In Ruby you can use system() (as you suggest)but it is still platform dependent. This is all quite weird since the concept of how many bytes are free on a volume is a quite platform-free concept. -----Original Message----- From: Le Wang [mailto:lewang@?.?.bigfoot.com (nospam)] Sent: Monday, December 31, 2001 1:23 PM To: ruby-talk ML; undisclosed-recipients: Subject: [ruby-talk:29895] How to check free diskspace? Hi all, I've checked "Programming Ruby", and searched the ML to no avail. So how do you check free disk space, other than to parse 'df' output? Thanks -lw