From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 16:52:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0302A16A41F for ; Thu, 20 Oct 2005 16:52:21 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9919143D5A for ; Thu, 20 Oct 2005 16:52:20 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j9KGqEW6042260; Thu, 20 Oct 2005 11:52:14 -0500 (CDT) (envelope-from dan) Date: Thu, 20 Oct 2005 11:52:14 -0500 From: Dan Nelson To: user Message-ID: <20051020165213.GC4225@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: creating snapshot capable ufs2 filesystems _after the fact_ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 16:52:21 -0000 In the last episode (Oct 20), user said: > I was just looking at the man page for newfs, and the new "-n" option > ... basically if you newfs with -n, a .snap directory is not created > in the new filesystem, and thus that new filesystem will not support > snapshots. > > Does this mean that if I simply `mkdir .snap` in the root of a > filesystem that suddenly it is snapshot capable ? That is to say, is > that .snap directory simply a plain old directory, and having a ufs2 > filesystem support or not support snapshots is only dependent on > simply having that directory in place ? Snapshots are always enabled, and can be placed anywhere. .snap is used by background fsck, and newfs creates that directory so that it's guaranteed to exist when fsck needs it. You can use create it manually if you want, or create another directory to put your snapshots in. -- Dan Nelson dnelson@allantgroup.com