Mailinglist Archive: opensuse (3318 mails)

< Previous Next >
Re: [opensuse] odd /usr/bin thing
  • From: Bill Anderson <bill@xxxxxxxxxxxxxxxxx>
  • Date: Tue, 08 Jan 2008 09:29:03 -0700
  • Message-id: <4783A4CF.1000704@xxxxxxxxxxxxxxxxx>
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



The Tuesday 2008-01-08 at 13:30 -0000, Dave Howorth wrote:

Bill Anderson wrote:
Insults are much easier than courtesy.

You've been suffering a lot from insults and disbelievers and I don't
understand why :(

I didn't post before because I thought I didn't have access to a Unix
box. Then I remembered that there is some old iron here. FWIW, here are
some samples from a session I just ran:

Compaq Tru64 UNIX V5.1B (Rev. 2650); Tue Sep 2 17:51:37 BST 2003

% ls -ld /bin
lrwxr-xr-x 1 root system 7 Aug 22 2003 /bin@ -> usr/bin/

% ls -l /bin/sh
-rwxr-xr-x 2 bin bin 149840 Apr 15 2003 /bin/sh*

% df -h
Filesystem Size Used Available Capacity Mounted on
/dev/disk/dsk0a 240M 208M 7666K 97% /
/dev/disk/dsk0g 1923M 1335M 395M 78% /usr


Ok, question then.

What will happen during boot, if partition /usr fails the initial filecheck? It can not be mounted, it has to be repaired first; but the system can not drop you into a repair mode with a shell, because the shell resides in /usr/bin/
Unix admins do not normally create a separate partition for /usr. In Unix, it is a relatively static directory. Also, you need to kick the partition thing, it is an x86ism. Under AIX, there is a root logical volume. One could create separate LVs for /tmp, /var, and /home. Under Solaris, it is slices, and one could create a separate slice for /usr and /home, under the default setup.

If you cannot mount /usr, then you get a mount failure. Depending on the machine, one could a console message, or one just get to read the numbers on an RS6000. To correct problems, I can always boot into the firmware.

What does that unix do? Does it mount /usr readonly?
The boot halts.
Under ForPro (another version of Unix for those who remember Fortune Systems), the solution was that /usr/bin had a minimum set of utilities. Of course, the mount of another "partition" on /usr meant then overlaid those utilities.

Anyway, discussion of Unix is OT.


- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)

iD8DBQFHg4AWtTMYHG2NR9URAjENAJ4iJ3VMC/51eTVHngizqOM4xoFpuwCghhVQ
mKv9JNG7yqZevqlvsg6aqqA=
=OhLl
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >