From owner-freebsd-questions@FreeBSD.ORG Fri Jan 28 23:15:13 2005 Return-Path: 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 646C416A4CE for ; Fri, 28 Jan 2005 23:15:13 +0000 (GMT) Received: from dexter.starfire.mn.org (starfire.skypoint.net [66.93.17.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9D7743D2D for ; Fri, 28 Jan 2005 23:15:12 +0000 (GMT) (envelope-from john@dexter.starfire.mn.org) Received: (from john@localhost) by dexter.starfire.mn.org (8.11.3/8.11.3) id j0SNFCD32089 for freebsd-questions@freebsd.org; Fri, 28 Jan 2005 17:15:12 -0600 (CST) (envelope-from john) Date: Fri, 28 Jan 2005 17:15:12 -0600 From: John To: freebsd-questions@freebsd.org Message-ID: <20050128171512.A32055@starfire.mn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Subject: Elegant way to map UID's and GID's on dump/restore? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jan 2005 23:15:13 -0000 I have some GID's and UID's on my system that date back to FreeBSD 0.9. No, actually, they date back to my NSC 32016-based GENIX system, come to think of it, which predates all FreeBSD. (Really cool architecture - highly orthongonal - very VAX-line - totally unlike the IA32 "native mode" stuff - 2Mhz and 256K of RAM. :) Anyway - enough reminiscing... On my next system roll forward, I would like to remap these into the new conventions and standards for GID's and UID's, and I imagine I'll do that with various "find" and "chown" commands, but if someone knows of a more elegant way to remap these in the dump/restore process, I'd love to know about it. Thanks! -- John Lind john@starfire.MN.ORG