"so here I have copied /usr to /newusr, does the cp -pR retain permissions?"
Yes. -p means preserve permissions. See:
man cp
"also, when i edit fstab shouldn't it be
/dev/hda8 /newusr ext3 defaults 0 0
then, i don't really understand the next steps! i know i need to delete /usr and rename /usrnew to /usr...could you explain a bit more, please?"
It should be:
/dev/hda8 /usr ext3 defaults 0 0
At that point you have all of /usr duplicated in 2 locations. You have one copy on /usr and a second copy on /dev/hda8. The fstab entry says to make the /dev/hda8 copy available on the /usr mountpoint after you reboot. The copy on /usr disappears. It is physically still there but it is not accessable anymore. At that point you also have no further use for /newusr which is merely an empty directory after reboot. You can delete /newusr any time after you reboot. /newusr doesn't have to be deleted with damn small Linux.
You cannot rename mount points so before you reboot you could not rename /newusr to /usr. Because some of the /usr directories are on the PATH you cannot rename or delete /usr before or after you reboot.
So to get rid of the old /usr tree hidden on / and actually free up the space you have to boot into damn small Linux, mount your / partition and delete everything on /usr but leave the empty /usr directory as a mount point.
___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html
Steve Stites