From owner-freebsd-questions@FreeBSD.ORG Tue Aug 23 19:33:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E60E816A41F for ; Tue, 23 Aug 2005 19:33:32 +0000 (GMT) (envelope-from rasmith@aristotle.tamu.edu) Received: from aristotle.tamu.edu (Aristotle.tamu.edu [165.91.161.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id A454A43D49 for ; Tue, 23 Aug 2005 19:33:32 +0000 (GMT) (envelope-from rasmith@aristotle.tamu.edu) Received: from aristotle.tamu.edu (localhost [127.0.0.1]) by aristotle.tamu.edu (8.13.1/8.13.1) with ESMTP id j7NJXWje034814 for ; Tue, 23 Aug 2005 14:33:32 -0500 (CDT) (envelope-from rasmith@aristotle.tamu.edu) Message-Id: <200508231933.j7NJXWje034814@aristotle.tamu.edu> To: freebsd-questions Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Date: Tue, 23 Aug 2005 14:33:32 -0500 From: Robin Smith Subject: reorganizing partitions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 19:33:33 -0000 In 4.11, I currently have a vinum volume mounted as /usr, with /usr/src and /usr/ports also on separate partitions (so these are just mount points on the actual /usr partition). /usr/src and /usr/ports are currently each given half a G, which is quite wasteful in the case of /usr/src (this didn't really belong on its own partition). However, I'd rather have things set up so that the system can get up and running even without the vinum drive. So, I want to take the existing /usr/src, put everything in /usr on it except for /usr/ports, /usr/local, and /usr/home, and mount it as /usr; move the contents of /usr/local to the top level on the current /usr (i.e. the vinum drive); remount the vinum drive as /usr/local; and symlink /usr/home onto /usr/local/home (/usr/home is already on the vinum drive as /home at its top level, so mounting it as /usr/local/ will give me /usr/local/home). I intend to do this by the appropriate ugly mess of cp -pRP commands and all the needed dismounting and mounting (in single-user mode, obviously). Apart from worries about getting all symlinks right, are there obvious fatal objections to doing all this (rather than the long slow way of filling up the new partitions by restoring what I want from tape)? Robin Smith