From owner-freebsd-questions@FreeBSD.ORG Wed Aug 28 05:04:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8EEA8C3F; Wed, 28 Aug 2013 05:04:49 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-qa0-x230.google.com (mail-qa0-x230.google.com [IPv6:2607:f8b0:400d:c00::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3F48429E5; Wed, 28 Aug 2013 05:04:49 +0000 (UTC) Received: by mail-qa0-f48.google.com with SMTP id hu16so147111qab.7 for ; Tue, 27 Aug 2013 22:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gLr/awh9T1zXRpgA5zq7QwunwdaRRTxg5QN/5CQyfwc=; b=jez7qUwabxRtdOp0rPrB/ZHFkxVx1ojHjfh6xtJqX/fWi1+332dJRrQU2/T+gZJOcP sBIQVHZiuzjbWmhD6vn2YWEO6IKB9kYnBPI3dbYkqtp28+N0xgOEKoBTV5QSNF9pF2QP iGsRX43UP9MapM03sFqoQUARLQtn6/nSRWNjWW/vixnsvUJrFbo73MIeg4WIzcpnO35p d5sNkAx1w9uJt/+0nj96GOdOr5MLFzZeCsaLYSJyr0rkgQHk0UeX/p135RHy04VuzuaH zksj0KEdmBW0eXNldgNoUjUD0BUZ+Z+oRUcms18f7eIs0GSzzbV/pz8gBj9Ebn+/AkWl 3NcA== MIME-Version: 1.0 X-Received: by 10.49.121.37 with SMTP id lh5mr27622198qeb.40.1377666288359; Tue, 27 Aug 2013 22:04:48 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.49.62.34 with HTTP; Tue, 27 Aug 2013 22:04:48 -0700 (PDT) In-Reply-To: References: <5214E6EB.30102@fjl.co.uk> <1377102971.29516.12511917.7D1FFD58@webmail.messagingengine.com> <1377103734.1265.12517189.74648DF1@webmail.messagingengine.com> Date: Wed, 28 Aug 2013 12:04:48 +0700 X-Google-Sender-Auth: QNLOzMgZzcw8vH0dxhBreAS3xDU Message-ID: Subject: Re: Renumber users and groups From: Olivier Nicole To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 05:04:49 -0000 One last comment, for the records, >>> Those solutions sound pretty handy if I need to move the files at the >>> same time. mtree should do this in-place with minimal fuss as it's just >>> confirming permissions and ownership on all files. >> I also just thought of an idea I need to benchmark: running mtree with >> and without nscd. I bet nscd could speed it up a lot. > > I did try mtree on my own files, counting for 20% of the total size, > and it took only seconds. > > I bet other users may have many more smaller files, but it's all a > matter of minutes, so it is fast enough. I found out that mtree would not renumber the symbolic links, so i had to solve that urgently afterward. Best regards, Olivier