This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] discus


> Neat, but does it work as intended?
> 
> $ df
> Filesystem                     1K-blocks       Used  Available Use% Mounted on
> //calimero.vinschen.de/cygwin  194676832   48674368  146002464  26% /cygwin
> //calimero.vinschen.de/ext     191068816   29408432  161660384  16% /ext
> C:                              41581564   35328408    6253156  85% /mnt/c
> Q:                               2097148      25472    2071676   2% /mnt/q
> 
> $ discus
> Mount           Total         Used         Avail      Prcnt      Graph
> /mnt/c          39.66 GB     33.69 GB      5.96 GB    85.0%   [********--]
> /mnt/q           2.00 GB      24.9 MB      1.98 GB     1.2%   [----------]
> 
> I'm missing my network shares.  --help doesn't show an option character.
> So I went ahead and changed /etc/discusrc to include shares but not if
> they are bind mounts:
> 
> opts["mtab"] = "!/bin/grep -E '^[A-Z]: |^//[a-z]' /proc/mounts | grep -v iso9660 | grep -v ',bind'"
> 
> $ discus
> Mount           Total         Used         Avail      Prcnt      Graph
> /cygwin        185.66 GB     46.42 GB    139.24 GB    25.0%   [***-------]
> /ext           182.22 GB     28.05 GB    154.17 GB    15.4%   [**--------]
> /mnt/c          39.66 GB     33.69 GB      5.96 GB    85.0%   [********--]
> /mnt/q           2.00 GB      24.9 MB      1.98 GB     1.2%   [----------]
> 
> Would that make sense as default or do you deliberatly restrict this
> to local drives?

Thanks.  Yes, that makes sense as a default, and I'll include it in release
-1.  I was just trying to eliminate bind mounts, but I overlooked network
shares.

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]