Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: SYSRUTH@UTORPHYS.BITNET (Ruth Milner) Newsgroups: comp.sys.sun Subject: Re: damaged /usr partition Message-ID: <8901022004.AA11175@gpu.utcs.toronto.edu> Date: 7 Jan 89 06:00:10 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 27 Approved: Sun-Spots@rice.edu Original-Date: Mon, 2 Jan 89 14:48 EST X-Sun-Spots-Digest: Volume 7, Issue 92, message 3 of 11 X-Issue-Reference: v7n77 In v7n77, Our Moderator writes: [[ If /usr is on its own partition, you don't even have to mess with the "mini-root", just boot single user. In order to do this, however, you need to have made a dump of your /usr partition in the recent past. But you should be doing that periodically anyway. --wnl ]] This is fine for 3.X systems. However, under 4.0, *all* executable images which used to be in /etc now are just symlinks to the corresponding programs in /usr/etc. This includes such vital commands as ifconfig, newfs, mkfs, dump, and - charmingly - restore. When the system boots single-user, both / and /usr are pre-mounted and available. So if your 4.0 /usr is trashed, unless you have put copies of those images in /etc to replace the links, you have no choice but to boot the mini-root to restore your /usr dump(s). And even then, you have to watch out for programs which call other programs (e.g. newfs runs mkfs). This has got to be the thing I dislike most about 4.0. In order for your system to boot, it is now totally dependent on two partitions instead of one, so there are two crucial points of filesystem failure (three if you count swap). Yuck. Ruth Milner Systems Manager University of Toronto Physics sysruth@helios.physics.utoronto.ca