Re: initializing linux partitions after installation
Hi,
On Thu, Jan 02, 2003 at 07:56:36AM +0000, Karsten M. Self wrote:
> No, but it means you're going to want to move the directory and copy its
> contents to the new mountpoint once you've created it:
>
> $ sudo bash
> # cd /
> # mv home home-bak
> # mount /home
> # cp -pdR home-bak/* /home
It works for /home since it usually does not have any filename starting
with "." period in it.
For the the last line of the example, I would use a command line:
# cp -pdR home-bak/. /home
or using equivalent and easy to remember "archive" option:
# cp -a home-bak/. /home
This ensures that everything gets copied including file names starting
with period.
Cheers :)
Osamu
PS: without "/." after home-bak, /home/home-bak/is created.
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki <osamu@debian.org> Cupertino CA USA, GPG-key: A8061F32
.''`. Debian Reference: post-installation user's guide for non-developers
: :' : http://qref.sf.net and http://people.debian.org/~osamu
`. `' "Our Priorities are Our Users and Free Software" --- Social Contract
Reply to: