From: mjbjr@... Date: 2001-11-10T03:59:26+09:00 Subject: [ruby-talk:24791] Re: Looking for df interface On Sat, Nov 10, 2001 at 01:08:01AM +0900, Daniel Berger wrote: > Hi all, > > I'm really just looking for an OO interface to the unix 'df' command. > I looked at File::Stat but it didn't appear to have the functionality > I needed to emulate DF. Well, this might not help all that much... You can get the raw data from '/proc/partitions', returned as lines of strings. I see you've already used File::Stat, but for others, all devices are mapped as files under Linux. -- - Martin J. Brown, Jr. - - mjbjr@beaudesign.com - Public PGP Key ID: 0xB29EDDCADB184F7B keyserver: http://certserver.pgp.com/