From owner-freebsd-stable@FreeBSD.ORG Mon Dec 27 01:41:44 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E90D1065670 for ; Mon, 27 Dec 2010 01:41:44 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) by mx1.freebsd.org (Postfix) with ESMTP id B884C8FC0C for ; Mon, 27 Dec 2010 01:41:43 +0000 (UTC) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.14.4/8.14.4) with ESMTP id oBR1ffgc070895; Sun, 26 Dec 2010 20:41:41 -0500 (EST) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.14.4/8.14.4/Submit) id oBR1ffno070894; Sun, 26 Dec 2010 20:41:41 -0500 (EST) (envelope-from wollman) Date: Sun, 26 Dec 2010 20:41:41 -0500 (EST) From: Garrett Wollman Message-Id: <201012270141.oBR1ffno070894@hergotha.csail.mit.edu> To: spork@bway.net In-Reply-To: References: <20101226073156.GA84868@mail.hs.ntnu.edu.tw> Organization: none X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (hergotha.csail.mit.edu [127.0.0.1]); Sun, 26 Dec 2010 20:41:41 -0500 (EST) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hergotha.csail.mit.edu Cc: stable@freebsd.org Subject: Re: unable to pwd in ZFS snapshot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2010 01:41:44 -0000 In article , spork@bway.net writes: >Other gotchas would be some of the periodic scripts - you don't want >locate.updatedb traversing all that, or the setuid checks. locate.updatedb in 9-current doesn't do that, by default. Arguably you want the setuid checks to do it, so that you're aware of setuid executables that are buried in old snapshots -- particularly if you keep old snapshots of /usr around after a security update. >Also I know I'm prone to sometimes doing a brute-force "find" which >can also dip into those hundreds of snapshot dirs. In general, I >think having the directories hidden is a good default. I could see the logic in having find not descend into .zfs directories by default (if done in a sufficiently general way), although then you'd have to introduce a new flag "yes, really, look at everything!" for cases when that's not desirable. -GAWollman