This is the mail archive of the cygwin@cygwin.com 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: Find: missing alphabetically last dirtree


On Thu, Sep 11, 2003 at 10:00:07PM +0200, Hannu E K Nevalainen (garbage mail) wrote:
>> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
>> Of Christopher Faylor
>
>> Can I see an ls -lan output for this?  What I'm looking for is that the
>> link count for '.' is equal to the number of directories on the cd,
>> including '.' itself.
>>
>> cgf
>
>$ command ls -lan /cygdrive/p/
>total 16450
>dr-xr-xr-x    5 500      513             0 Nov 21  2002 .
>dr-xr-xr-x   16 0        0               0 Jan  1  1970 ..
>dr-xr-xr-x    2 500      513             0 Nov 21  2002 IE60
>-r-xr-xr-x    1 500      513       1707856 Oct 15  2001 InstMSIA.exe
>-r-xr-xr-x    1 500      513       1821008 Sep 24  2001 InstMSIW.exe
>dr-xr-xr-x    2 500      513             0 Nov 21  2002 NT4SP
>dr-xr-xr-x    4 500      513             0 Nov 21  2002 Program Files
>dr-xr-xr-x    4 500      513             0 Nov 21  2002 Samples
>-r-xr-xr-x    1 500      513         45126 Sep 28  2002 autorun.exe
>-r--r--r--    1 500      513            29 Oct 17  2001 autorun.inf
>-r--r--r--    1 500      513      13181440 Nov 21  2002 msdn.msi
>-r--r--r--    1 500      513          3584 Mar  1  2002 msdnadvt.mst
>-r--r--r--    1 500      513         23245 Nov 16  2002 readme.htm
>-r-xr-xr-x    1 500      513         57409 May 10  2002 setup.exe
>
>The first number on the "." line is "5"... You indicate that this should be
>"6" instead...  Would this be a more "normal" situation?

Ok, how about a 'dir p:'?  Does it show a "." and a ".." directory?

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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