From owner-freebsd-questions Sun Jan 19 18:52:34 2003 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 0C3CC37B401 for ; Sun, 19 Jan 2003 18:52:33 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 578CD43E4A for ; Sun, 19 Jan 2003 18:52:32 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.6/8.12.6) id h0K2qP14042155; Sun, 19 Jan 2003 20:52:25 -0600 (CST) (envelope-from dan) Date: Sun, 19 Jan 2003 20:52:25 -0600 From: Dan Nelson To: JoeB Cc: FBSDQ Subject: Re: what is mtree command used for Message-ID: <20030120025224.GJ7909@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.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jan 19), JoeB said: > Read man mtree, but it does not describe when or for what purpose > you would use the mtree command. > > Would someone explain when to use the mtree command? You can use it to create directories and enforce permissions (the installworld target uses it like this). You can also validate an existing filesystem against mtree output generated in the past. You can build a tripwire-like program this way. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message