Path: utzoo!attcan!uunet!mailrus!uwm.edu!lll-winken!ubvax!weitek!jetsun!brothers From: brothers@jetsun.WEITEK.COM (bill brothers) Newsgroups: comp.unix.xenix Subject: Re: splitting up root and use Message-ID: <867@jetsun.WEITEK.COM> Date: 8 Feb 90 18:35:55 GMT References: <90020407120109@masnet.uucp> Reply-To: brothers@jetsun.WEITEK.COM (bill brothers) Organization: WEITEK, Sunnyvale CA Lines: 35 In article <90020407120109@masnet.uucp> mark.levy@canremote.uucp (MARK LEVY) writes: >ts>Has anyone been brave enough to try to take the /usr files out of >ts>the root filesystem under SCO UNIX 3.2? If so, how much stuff did >ts>it break? How difficult was the split, and how difficult is it >ts>to reinstall the OS now that you have a non-standard configuration? I have separate / and /usr filesystems. It was a piece of cake! You do have to install the initial system on one filesystem. I put stuff on four separate disks, so I will keep referring to disks. So if you are doing it on one disk, just substitute the word filesystem... These instructions assume that you understand filesystems and partitions. 1. Install SCO UNIX core (or all of it if you want to and have space) 2. Add your second (,third, fourth...) disk with mkdev hd (or fs with mkdev fs) 3. Recursively copy /usr onto the new disk. (I used cpio -p) 4. Fix rc files to point to non-mounted places. Change /etc/rc.d/0/sdaemons to use /etc/adm rather than /usr/adm. (don't forget to make the directory). 5. Make sure that /etc/default/filesys and /etc/checklist contain an entry for your new /usr. 6. DON'T rm the old /usr files until you have rebooted and verified all is in order and works correctly. 7. DO rm the old /usr files in single user mode. Make sure you are removing the correct /usr files by doing a df -v first to verify that /usr is not mounted. The only real drawbacks are the obvious ones. You have to manually mount and dismount /usr when running single user. P.S. I also did a full backup before I started since this machine was not a fresh install. Luckily, I didn't need to use it :*) Bill brothers@weitek.COM