[Info-vax] Re; Spiralog, RMS Journaling (was Re: FREESPADRIFT)

Johnny Billquist bqt at softjar.se
Thu Jun 23 06:49:18 EDT 2016


On 2016-06-23 12:27, Johnny Billquist wrote:
> On 2016-06-22 09:27, lawrencedo99 at gmail.com wrote:
>> On Wednesday, June 22, 2016 at 3:30:03 AM UTC+12, Johnny Billquist wrote:
>>> (Hint: what do you think . and .. is?)
>>
>> Those cause their own share of problems--look at all the code in
>> directory-search APIs that have to special-case those useless entries
>> and skip over them...
>
> I think most people would seriously disagree with you over their
> uselessness. :-)
> And most code do not special treat them in any way at all. They are
> directory entries just like any other.
> What code is special treating them?
> (And don't say "ls -A")

Oh, I just remembered a couple that does: find and du. So there are a 
few. And special treating in this case just means don't go down there, 
as it will be repeating information already examined. Makes total sense, 
and I don't think it's a correct representation saying that they are 
useless because these programs skip them. It's just that they should not 
be traversed, since they already have been.

But these two programs also already have to deal with loops (imagine that).

	Johnny




More information about the Info-vax mailing list