Re: df --local

2002-09-21 Thread egor duda
Pechtchanski [mailto:[EMAIL PROTECTED]] RB Sent: Friday, September 20, 2002 10:29 AM RB To: Rob Brown RB Cc: [EMAIL PROTECTED] 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

Re: df --local

2002-09-21 Thread Igor Pechtchanski
... Igor RB -Original Message- RB From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] RB Sent: Friday, September 20, 2002 10:29 AM RB To: Rob Brown RB Cc: [EMAIL PROTECTED] RB Subject: RE: df --local RB Well, as I said before, unless you have invalid local mounts (i.e., RB without

Re: df --local

2002-09-21 Thread Michael A Chase
On Sat, 21 Sep 2002 12:46:13 -0400 (EDT) Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 21 Sep 2002, egor duda wrote: Friday, 20 September, 2002 Rob Brown [EMAIL PROTECTED] wrote: RB OK, that will *mostly* work except for the cdrom drive issue. The proper way is to convert path

Re: df --local

2002-09-21 Thread Igor Pechtchanski
On Sat, 21 Sep 2002, Michael A Chase wrote: On Sat, 21 Sep 2002 12:46:13 -0400 (EDT) Igor Pechtchanski [EMAIL PROTECTED] wrote: On Sat, 21 Sep 2002, egor duda wrote: Friday, 20 September, 2002 Rob Brown [EMAIL PROTECTED] wrote: RB OK, that will *mostly* work except for the cdrom

Re: df --local

2002-09-20 Thread Marcos Lorenzo de Santiago
% /cygdrive/d u: 961282048 850460672 110821376 89% /cygdrive/u The problem is that when I run df --local, I only see remotely mounted filesystem: $ df --local Filesystem 1k-blocks Used Available Use% Mounted on \\server1\rob

RE: df --local

2002-09-20 Thread Igor Pechtchanski
drive letters and configurations. Is there no other way for cygwin to know whether a drive is local or not? -Original Message- From: Marcos Lorenzo de Santiago [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 12:53 AM To: Rob Brown Cc: [EMAIL PROTECTED] Subject: Re: df --local

RE: df --local

2002-09-20 Thread Rob Brown
, September 20, 2002 12:53 AM To: Rob Brown Cc: [EMAIL PROTECTED] Subject: Re: df --local I am trying to write a script that checks the % free of local drives using df. $ df -a Filesystem 1k-blocks Used Available Use% Mounted on C:\cygwin\bin

RE: df --local

2002-09-20 Thread Rob Brown
OK, that will *mostly* work except for the cdrom drive issue. -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 10:29 AM To: Rob Brown Cc: [EMAIL PROTECTED] Subject: RE: df --local Well, as I said before, unless you have invalid

df --local

2002-09-19 Thread Rob Brown
% /cygdrive/u The problem is that when I run df --local, I only see remotely mounted filesystem: $ df --local Filesystem 1k-blocks Used Available Use% Mounted on \\server1\rob 961282048 850460672 110821376 89% /rob Is this a bug? It seems to be opposite of what you would

Re: df --local

2002-09-19 Thread Igor Pechtchanski
: 961282048 850460672 110821376 89% /cygdrive/u The problem is that when I run df --local, I only see remotely mounted filesystem: $ df --local Filesystem 1k-blocks Used Available Use% Mounted on \\server1\rob 961282048 850460672 110821376 89% /rob

Re: df --local

2002-09-19 Thread Shankar Unni
Igor Pechtchanski wrote: -# ifdef __CYGWIN__ -# define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') == 0) -# else # define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') != 0) -# endif You're sure it's not possible to end up with a local path without a : (e.g. just

Re: df --local

2002-09-19 Thread Igor Pechtchanski
On Thu, 19 Sep 2002, Shankar Unni wrote: Igor Pechtchanski wrote: -# ifdef __CYGWIN__ -# define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') == 0) -# else # define ME_REMOTE(fs_name, fs_type) (strchr (fs_name, ':') != 0) -# endif You're sure it's not possible to end up with a