public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: "DePriest, Jason R." <jrdepriest@firsthorizon.com>
To: cygwin-apps@cygwin.com
Subject: RE: [ITP] ncdu 1.1
Date: Fri, 15 Jun 2007 17:48:00 -0000	[thread overview]
Message-ID: <2246C327437A574785E60C48E25E2A847E90E5@E3KMEMMCS2.ftbco.ftn.com> (raw)
In-Reply-To: <46722AB4.4030400@t-online.de>

> -----Original Message-----
> From:  On Behalf Of Christian Franke
> Sent: Friday, June 15, 2007 12:59 AM
> To: 
> Subject: Re: [ITP] ncdu 1.1
> 
> DePriest, Jason R. wrote:
> > ...
> > Incidentally, I downloaded the source from the
> > http://dev.yorhel.nl/ncdu/ and it compiled flawlessly under Cygwin.
> >
> > I ran it and had it start at the root folder, "/".
> >
> > I anticipated it taking a very long time to finish, but not hours.  I
> > let it run for around four hours during which my processor stayed > 90%
> > usage, even with On-access virus scanning disabled.
> >
> > During which time is dug through all of my mapped network drives, my
> > entire local hard drive, and the Windows registry via /proc/registry.
> >
> >   
> 
> Confirmed.
> Actually ncdu does not handle the special case "/" and calls e.g. 
> lstat("//bin",.).
> This is OK on Linux & friends, but specifies an UNC path on Cygwin.
> (I don't know whether POSIX specifies the behaviour on duplicate slashes).
> ncdu also does not handle the error returned by lstat() in this case.
> 
> I will provide a fixed package and send the patch upstream.
> 
> > It bombed out sometime during the scan of /proc/registry, but I can't be
> > sure exactly where.  The display was still there, but it had dropped to
> > a command-line underneath.  The path was cut off due to the size of the
> > display box.
> >
> >   
> 
> Could not reproduce this.
> 
> Thanks for the info.
> 
> Christian

I did 'ncdu /proc/registry' and about two hours later, I found it like this, with my bash prompt underneath.
I didn't cut / paste the box because it would just turn into a bunch of Ä and such.
I did recreate it with - and | just to give you an idea of what it looked like.

---Calculating...-------------------------------------------
|                                                          | 
| Total files: 467122   dirs: 222594   size:   0.0 B       |
| Current dir: /proc/registry/HKE.../0/0/0/0/8/4/0/0/0/0/4 |
|                                                          |
| Warning: could not open /proc/registr...curity/templates |
|  some directory sizes may not be correct                 |
|                                                          |
|  Calc                                    Press q to quitHangup
------------------------------------------------------------

-Jason

------------------------------------------------------------------------------
Confidentiality notice:
This e-mail message, including any attachments, may contain legally privileged and/or confidential
information. If you are not the intended recipient(s), or the employee or agent responsible for delivery
of this message to the intended recipient(s), you are hereby notified that any dissemination,
distribution, or copying of this e-mail message is strictly prohibited. If you have received this message
in error, please immediately notify the sender and delete this e-mail message from your computer.

==============================================================================

  parent reply	other threads:[~2007-06-15 17:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-12 19:05 Christian Franke
2007-06-13  6:03 ` Corinna Vinschen
2007-06-13 16:54   ` Christian Franke
2007-06-13  9:33 ` Dave Korn
2007-06-14 15:38 ` Dr. Volker Zell
2007-06-14 17:30 ` DePriest, Jason R.
2007-06-15  5:59   ` Christian Franke
2007-06-15  6:46     ` Corinna Vinschen
2007-06-15 17:48     ` DePriest, Jason R. [this message]
2007-06-16 19:29       ` Christian Franke
2007-06-17 14:43         ` Christian Franke
2007-06-17 15:01           ` Dave Korn
2007-06-17 17:08             ` Christian Franke
2007-06-18  7:17               ` Corinna Vinschen
2007-06-21  1:41                 ` Eric Blake
2007-06-21  5:24                   ` Christian Franke
2007-06-21  6:53                     ` Corinna Vinschen
2007-06-21 12:06                     ` Eric Blake
2007-06-21 12:23                       ` Dave Korn
2007-06-21 13:15                         ` Eric Blake
2007-06-15 21:17 ` Reini Urban
2007-06-13  6:22 Jörg Schaible
2007-06-13  6:29 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2246C327437A574785E60C48E25E2A847E90E5@E3KMEMMCS2.ftbco.ftn.com \
    --to=jrdepriest@firsthorizon.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).