cvs commit: src/sys/ufs/ufs ufs_lookup.c

Eric Anderson anderson at centtech.com
Wed Mar 8 13:11:57 PST 2006


Scott Long wrote:
> Poul-Henning Kamp wrote:
>> In message <440F3FAA.5090804 at samsco.org>, Scott Long writes:
>>
>>
>>> The only way to effectively avoid the problem would be to teach UFS to
>>> completely ignore the '.snap' directory entry when doing a readdir and
>>> lookup.  That is not the same as what is being discussed with having a
>>> special hiiden hint flag.
>>
>>
>> Wouldn't that make it somewhat hard to actually access the snapshots ?
>>
>
> Sorry, I meant that the dirent would be surpressed from normal lookups 
> and readdirs just just while it's unsafe to access it.

That would mean that .snap is a hardcoded directory name, so if a user 
used .snapshots or some such name it would not obey the same principles, 
correct?  Or would it be more of 'while snapshots are happening, ignore 
the directory containing the snapshot currently being created'?

Eric




-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------



More information about the cvs-src mailing list