Re: Need help making a /home partition

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Rob Wultsch
Date:  
To: plug-discuss
Subject: Re: Need help making a /home partition
Oppps.
cp -R /home/* /crap

Good catch.

On Fri, 24 Sep 2004 09:44:27 -0700 (PDT), Jeremy C. Reed
<> wrote:
> > In order to format it you need to do a:
> > su
> > mkfs.ext3 /dev/hda3
> > next you need to mount it somewhere and copy your home over:
> > mkdir /crap
> > mount /dev/hda3 /crap
> > cp -R /home /crap
>
> This will copy "home" directory itself. So when you later mount hda3, you
> will get "home/home".
>
> Maybe use a wildcard (assuming no hidden files in /home/ top level
> itself). Or use rsync with trailing slash for source, like:
>
> rsync -a /home/ /crap ## need slash after home
>
> Or use cpio:
>
> cd /home && find . | cpio -pm /crap
>
> (Or use tar.)
>
> > umount /crap
> > rmdir /crap
> > next you need to edit your /etc/fstab. Email that out if you need help
> > with that.
>
> Jeremy C. Reed
>
>                          technical support & remote administration
>                          http://www.pugetsoundtechnology.com/

>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss