On Mon, 2 Jul 2001, Suresh Ramasubramanian wrote:
|* Kingsly John [linux-india] <02/07/01 14:53 +0530>:
|> The previous thread about moving to reiserfs threw up quite a few cryptic
|> commands to move the root file system...
|> wouldn't a simple mv have been sufficient ? (after booting from a tiny
|> linux distro and mounting both the ext2 and reiserfs partitions)
|
|Would it preserve the permissions, would it handle copying / onto another /?
it wouldn't be as simple as
mv /oldroot /newroot
because /dev will create problems (/proc won't be there when you boot
from a mini-distro)
but you can do a
mv /oldroot/etc /newroot
mv /oldroot/bin /newroot
etc etc
It should work ... I moved the stuff in /usr/local to a new partition and
/usr/doc directory to another partition using mv (long ago) and it seems
to have worked ok! permissions have been maintained... (but all the files
were owned by root so I'm not sure of ownerships but mv doesn't affect
ownerships and permission when moving a file within the same partition.
Kingsly
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/linux-india-help