RPM Community Forums

Mailing List Message of <rpm-users>

Re: What's the use of rpmmtree ?

From: Jeff Johnson <n3npq@mac.com>
Date: Sun 24 Oct 2010 - 18:40:24 CEST
Message-id: <52CD2E9F-18A3-4FE4-9B45-235A4D360D61@mac.com>

On Oct 24, 2010, at 12:25 PM, Sriram Narayanan wrote:

> Hi:
> 
> This is a newbie question. I'm facing an error about rpmmtree while
> trying to build rpm5, and I'll ask that question on the devel list.
> 
> But as a newbie, I wanted to know what rpmmtree is for. I'm unable to
> find anything meaningful on the web.
> 

Look for mtree(8), which is what is used on *BSD (but not linux oddly)
to verify file digests.

You don't need rpmmtree to use RPM: its included with RPM because
	1) its a useful utility that linux has chosen to ignore
	2) mtree uses fts(3) (which is used several places in RPM code)
	and provides a simple standalone test framework.

hth

73 de Jeff
> Thanks.
> 
> -- Sriram
> Belenix: www.belenix.org
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Sun Oct 24 19:41:39 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.