[Win32utils-devel] [ANN] win32-driveinfo in CVS
Daniel.Berger at qwest.com
Wed Feb 9 10:38:08 EST 2005
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> Park Heesob
> Sent: Wednesday, February 09, 2005 8:20 AM
> To: Development and ideas for win32utils projects
> Subject: Re: [Win32utils-devel] [ANN] win32-driveinfo in CVS
> I committed win32-driveinfo in CVS again.
> It is now C extension not Ruby/DL.:)
> Park Heesob
Wow, that was fast! Well, since you had originally used a pure Ruby
implementation, I *was* going to suggest you reimplement it using OLE +
I was thinking maybe win32_diskdrive from the hardware classes and/or
the various filesystem classes (win32_logicaldisk, etc). I've only
spent about 2 minutes looking at those docs this morning, so maybe that
won't work. Also, since you've already reimplemented it once, I dunno
how you feel about reimplementing it again.
Or, we could provide both, giving the users a choice during
installation. Maybe Shanko would like to take a stab at that. :)
I was also thinking some more about Mike's filesystem API. I think we
can simulate "Filesystem.stat" easily enough with the information being
returned from the "getDriveInfo" method you have now. The struct
members wouldn't be identical, but close enough. The
"FileSystem.mounts" method looks like its the same sort of info returned
by your getVolumeInfo method.
That being said, I don't want you to think you're limited to those two
methods. We can have more methods, just as long as those two are
What do folks think?
More information about the win32utils-devel