From owner-cvs-src@FreeBSD.ORG Wed Mar 8 21:11:57 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C8EB16A420; Wed, 8 Mar 2006 21:11:57 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97D8643D58; Wed, 8 Mar 2006 21:11:54 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k28LBoHE019346; Wed, 8 Mar 2006 15:11:50 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <440F4893.2000400@centtech.com> Date: Wed, 08 Mar 2006 15:11:47 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Scott Long References: <1539.1141850573@critter.freebsd.dk> <440F42A6.7000600@samsco.org> In-Reply-To: <440F42A6.7000600@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1318/Tue Mar 7 14:55:18 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Poul-Henning Kamp , Ruslan Ermilov , Kris Kennaway , Tor Egge Subject: Re: cvs commit: src/sys/ufs/ufs ufs_lookup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 21:11:57 -0000 Scott Long wrote: > Poul-Henning Kamp wrote: >> In message <440F3FAA.5090804@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. ------------------------------------------------------------------------