From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ns.pcdesk.net ([65.100.173.137] helo=pcdesk.net) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1DHBa7-0001vN-00 for ; Thu, 31 Mar 2005 21:08:19 -0500 Received: from merlin.pcdesk.net ([::ffff:192.168.0.13]) (AUTH: LOGIN jbahm@pcdesk.net, TLS: TLSv1/SSLv3,128bits,RC4-MD5) by pcdesk.net with esmtp; Thu, 31 Mar 2005 19:07:42 -0700 id 01009B97.424CACEE.0000734C Date: Thu, 31 Mar 2005 19:07:53 -0700 (Mountain Standard Time) From: "Joseph C. Lininger" To: "Speakup is a screen review system for Linux." In-Reply-To: <004a01c53564$b3eca7c0$0d00a8c0@Saidar> Message-ID: References: <004a01c53564$b3eca7c0$0d00a8c0@Saidar> X-X-Sender: jbahm@pcdesk.net@imap.pcdesk.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: moving /var and /home to a new partition X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 02:08:20 -0000 Hi, mv automatically preserves all owner, group, and permition information. What you want to do should work just fine. Equal causes can produce very unequal effects. Joseph C. Lininger jbahm@pcdesk.net Verification: 5eab38a77ac40416e075be8f50607ff7 And so it came to pass that on Wed, 30 Mar 2005, Raul A. Gallegos said > Hi. I have FC3 installed and currently use the following on one hdd: > > /hda1 swap > /hda2 / > /hda3 /usr/local > /hda4 /home > > I did this because at time of install I only had one drive. Now I will be > installing a second drive for /home only. So what I want to do is move /home > to /hdc1 and then move /var to home's current partition /hda4. > > I boot into single user mode first and edit fstab. > > I know how to edit /etc/fstab but my question is what parameters I should > give mv when moving the directories. > > I figured I could temporarily mount /hdc1 as /newhome then: > > cd /home > mv * /newhome > > Now I can umount /newhome > > Now for /var I could do: > > cd /var > mv * /home > > So when I reboot all the /var files will be in /home's old partition /hda4 > and the new /home will be on /hdc1. > > What I'm worried about is preserving all permissions, ownerships, etc. > > Does this all look right? > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >