From owner-freebsd-questions Wed Jun 2 4:40:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailgw01.execpc.com (mailgw01.execpc.com [169.207.2.78]) by hub.freebsd.org (Postfix) with ESMTP id 6D46D14D39 for ; Wed, 2 Jun 1999 04:40:39 -0700 (PDT) (envelope-from dpoland@execpc.com) Received: from pop03.execpc.com (pop03.execpc.com [169.207.1.82]) by mailgw01.execpc.com (8.9.1) id GAA12152; Wed, 2 Jun 1999 06:40:38 -0500 Received: from execpc.com (xorth-1-145.mdm.fox.execpc.com [169.207.125.19]) by pop03.execpc.com (8.8.8) id GAA32009; Wed, 2 Jun 1999 06:40:37 -0500 Message-ID: <37551833.2EA72F74@execpc.com> Date: Wed, 02 Jun 1999 06:40:35 -0500 From: Doug Poland Organization: New Resources Corp X-Mailer: Mozilla 4.6 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: Thomas Widlundh Cc: FreeBSD Subject: Re: Moving directories References: <199906021024.MAA17598@maskin.ettnet.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thomas, I got this from http://www.freebsd.org/tutorials/diskformat/ 4.2. Copying the Contents of Disks Submitted By: Renaud Waldura (renaud@softway.com) To move file from your original base disk to the fresh new one, do: mount /dev/wd2 /mnt pax -r -w -p e /usr/home /mnt <---- This is what you're looking for umount /mnt rm -rf /usr/home/* mount /dev/wd2 /usr/home Thomas Widlundh wrote: > > Hi, > Due to my second disk with /usr is totally filled up, I wonder if it's possible to move > some of the directories to my first disk, e.g.: > I make a directory like /newusr and move e.g. /local that's in /usr(/local) to this > new /newusr, and then make a link from /usr to /newusr. > Is this possible? > How do I make a link like this? > I've noticed that I can't link directories. To me, I had to delete one of the directories > (the empty one) and making the link made a new directory with the same name, but > now as a link only. This during a cautiously test with fake directories. > Is this the right thing to do? > I do not want to screw up my FBSD system. > > Thomas > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Doug Poland dpoland@execpc.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message