From owner-freebsd-questions@FreeBSD.ORG Thu Aug 22 05:32:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 04A9D4E6; Thu, 22 Aug 2013 05:32:48 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A9BD42E79; Thu, 22 Aug 2013 05:32:47 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id bv4so111082qab.1 for ; Wed, 21 Aug 2013 22:32:46 -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=DspR+HzIrLzbcHWDgJRqalkmqhEmSrXeqkgLICFfBn0=; b=e4h1RErbgx0tSXWJmQkS1pRjPS2ZQdbM8xoqmt9doSipysJuys3B4WpE5pkPTYuf5o OSgktlWgCAt4iuymRCjFvVt/NRhptlEdTzvLqmKAaTu+3i+dpwJQuof7FPrLZpdQd3c6 00QYKlV0ErEU+PuGCvvtepAr1j9R9isbEz8+FBovPSLykLlOjsV1qiuS5UU2oOSmutmh jiwynlDAOEimcaRXLusSDch4bcaIQ/IShS8SyxgtxZo4l7wFaiSEyZJoCKcdwABAuoUp I+MHAmcwn0UgkKlA0W1W1/hjhemcj10efyzZOborscfTRELkDKdSxpB91NLWh/XZmQI2 mlvQ== MIME-Version: 1.0 X-Received: by 10.224.7.67 with SMTP id c3mr15251640qac.6.1377149566834; Wed, 21 Aug 2013 22:32:46 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.49.62.41 with HTTP; Wed, 21 Aug 2013 22:32:46 -0700 (PDT) In-Reply-To: <1377103734.1265.12517189.74648DF1@webmail.messagingengine.com> References: <5214E6EB.30102@fjl.co.uk> <1377102971.29516.12511917.7D1FFD58@webmail.messagingengine.com> <1377103734.1265.12517189.74648DF1@webmail.messagingengine.com> Date: Thu, 22 Aug 2013 12:32:46 +0700 X-Google-Sender-Auth: u3WDgMlUo-J7HfqwU9YUuT7IMtk Message-ID: Subject: Re: Renumber users and groups From: Olivier Nicole To: Mark Felder 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: Thu, 22 Aug 2013 05:32:48 -0000 Thank you, >> 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. Best regards, Olivier