moving /var and /home to a new partition
Steve Dawes
sdawes at telus.net
Thu Mar 31 09:10:24 EST 2005
Adding the new mount point to fstab is quite easy. What I do is:
1. mount the new partitions
2. make sure it is working the way you want it too.
3. read /etc/mtab and look for the entry related to the new mount partition.
4. copy the related entry from mtab into fstab.
Note, I do not type the entry into fstab, I read the entry in using with my
editor to avoid any chance of mistyping it.
Steve
Steve Dawes
Calgary Canada.
-----Original Message-----
From: speakup-bounces at braille.uwo.ca
[mailto:speakup-bounces at braille.uwo.ca]On Behalf Of Raul A. Gallegos
Sent: Wednesday, March 30, 2005 9:44 PM
To: Speakup is a screen review system for Linux.
Subject: Re: moving /var and /home to a new partition
Hi Ganina and others;
I ended up doing a command like this:
mount /dev/hda4 /mnt
cd /var
rsync -a * /mnt
>From reading the man page on rsync it seems that using the -a parameter is
like using recursive, simlinks, preserve owner, group, device.
Took some reading on using labels in fstab but I think I got it right. I
just don't know where to make the needed modifications so that I don't edit
fstab directly to add the new /var partition.
_______________________________________________
Speakup mailing list
Speakup at braille.uwo.ca
http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list