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 exc

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

Re: df --local

2002-09-21 Thread Igor Pechtchanski
alled in path.cc anyway, to distinguish Samba filesystems... 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>

Re: df --local

2002-09-21 Thread egor duda
rom: 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 the drive name), all your local mou

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

RE: df --local

2002-09-20 Thread Igor Pechtchanski
; 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 >

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

Re: df --local

2002-09-20 Thread Marcos Lorenzo de Santiago
544324544324 0 100% /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

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 e

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 \window

Re: df --local

2002-09-19 Thread Igor Pechtchanski
544324544324 0 100% /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 &g

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