Re: Moving to a new partition for /usr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/7/07, Karl Larsen <k5di@xxxxxxxxxx> wrote:
> John Pierce wrote:
> > Hello, I have created a new partition labeled usr01 and I want to copy
> > all of the contents of /usr to that partition and then use it as the
> > new partition.  This is the steps that I have taken, I would
> > appreciate any comments if what I propose will function correctly.
> >
> > Installed new drive
> >
> What new drive?
> > made partition labeled usr01
> > mounted new partition on /mnt
> > cd /usr
> > cp -R --preserve=all * /mnt
> >
> >
>    I would use cp -a and that works fine

-a is like -dpR
this means --preserve=link and --preserve=mode, ownership,timestamps

--preserve=all copies all of the attributes above and the rest of them
whatever they are (maybe some ACL's attributes)

> > That is what I have done so far, now if I do the following will the
> > system boot up and work correctly?
> >
> > umount /mnt
> > edit /etc/fstab and make the new partition /dev/sdb1 mount to /usr
> > reboot.

I think it should boot if the copy has been done properly.

> >
> >
> Your leaving out some important steps. I am not sure what your rebooting?

He's rebooting the system, of course. What steps do you mean?

>
>
>
> --
>
>        Karl F. Larsen, AKA K5DI
>        Linux User
>        #450462   http://counter.li.org.
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux