This is the mail archive of the
mailing list for the Cygwin project.
Re: df --local
- From: egor duda <deo at logos-m dot ru>
- To: "Rob Brown" <rob at mp3 dot com>
- Cc: cygwin at cygwin dot com
- Date: Sat, 21 Sep 2002 17:31:50 +0400
- Subject: Re: df --local
- Organization: deo
- References: <LMEBLOLOHAGKJEEBFGPKMEGECHAA.firstname.lastname@example.org>
- Reply-to: egor duda <cygwin at cygwin dot com>
Friday, 20 September, 2002 Rob Brown email@example.com wrote:
RB> OK, that will *mostly* work except for the cdrom drive issue.
The proper way is to convert path to win32 form and then use
GetDriveType() and GetVolumeInformation() APIs.
RB> -----Original Message-----
RB> From: Igor Pechtchanski [mailto:firstname.lastname@example.org]
RB> Sent: Friday, September 20, 2002 10:29 AM
RB> To: Rob Brown
RB> Cc: email@example.com
RB> Subject: RE: df --local
RB> Well, as I said before, unless you have invalid local mounts (i.e.,
RB> without the drive name), all your local mounts will have a ":" as part of
RB> the name.
RB> On Fri, 20 Sep 2002, Rob Brown wrote:
>> Yea, except that I wanted this script to run on a bunch of machines, all
>> with different drive letters and configurations.
>> Is there no other way for cygwin to know whether a drive is local or not?
Egor. mailto:firstname.lastname@example.org ICQ 5165414 FidoNet 2:5020/496.19
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html