lkml.org 
[lkml]   [2003]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Are "," and ".." in directory required?
Date


> > bor@itsrm2% cd foo
> > bor@itsrm2% sudo rmdir /tmp/foo
> > bor@itsrm2% ls -la .
> > .: No such file or directory
> >
> > how do I access this? OK I could have opendir on it ... but then,
>
> You should access it through getcwd(2). Try 'ls -al'. readdir has
> special case for such directories (IS_DEADDIR), so it will come up as
> empty without dot and dotdot.
>

OK I tried it not under Linux the first time.

Tnx

-andrey


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.028 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site