in qemu i installed 13.1 version with a single 5GB disk. there is only a root partition (ufs) and everything else mounted under it. i added a second storage of 5G size also. in single user mode, i copied (cp -Rp /usr/* /mnt) usr directory contents, renamed existing "/usr" to "/usr-old", created a new "/usr" directory and in "/etc/fstab" added the new hd using new directory "/usr" as the mount point. rebooted.
that worked. problem is, i can't get rid of some files from "/usr-old" directory like login as they have "r-s-r-x-r-x" permissions. tried "chmod -s" but didn't worked. the error is permission denied when i try to delete this files. they are all owned by root and i'm doing the deletion, in single user mode, as root.
how else to remove them?
that worked. problem is, i can't get rid of some files from "/usr-old" directory like login as they have "r-s-r-x-r-x" permissions. tried "chmod -s" but didn't worked. the error is permission denied when i try to delete this files. they are all owned by root and i'm doing the deletion, in single user mode, as root.
how else to remove them?