From owner-freebsd-questions@FreeBSD.ORG Sun Apr 9 03:59:30 2006 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 3EECB16A401 for ; Sun, 9 Apr 2006 03:59:30 +0000 (UTC) (envelope-from freebsd@hyperconx.com) Received: from front.hyperconx.net (ns1.hyperconx.net [65.74.165.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03A5F43D53 for ; Sun, 9 Apr 2006 03:59:29 +0000 (GMT) (envelope-from freebsd@hyperconx.com) Received: from adsl-69-225-224-190.dsl.skt2ca.pacbell.net ([69.225.224.190] helo=Production) by front.hyperconx.net with esmtpa (Exim 4.53) id 1FSR5F-0001s4-Vx for freebsd-questions@freebsd.org; Sat, 08 Apr 2006 20:59:30 -0700 From: "Wil Hatfield" To: Date: Sat, 8 Apr 2006 20:57:24 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <200604061808.26586.list-freebsd-2004@morbius.sent.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Importance: Normal Subject: Partitioning on existing system 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: Sun, 09 Apr 2006 03:59:30 -0000 Ok I screwed up on one of my machines and forgot to put the /tmp directory on its own slice. How can I do this on an existing system? Linux has this procedure. Anything like it for FreeBSD? dd if=/dev/zero of=tmpMnt bs=1024 count=100000 /sbin/mke2fs /dev/tmpMnt cd / cp -R /tmp /tmp_backup mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp chmod 1777 /tmp cp -R /tmp_backup/* /tmp/ rm -rf /tmp_backup Any help is greatly appreciated. -- Wil Hatfield