/var/sadm/install/contents

/var/sadm/install/contents

Post by Bill Voigh » Wed, 17 Feb 1999 04:00:00



Sports fans,

Our development data warehouse server (2000E running Solaris 2.5.1) has
lost its /var/sadm/contents.  I can't find the file in the backups I
have, so I guess it's been gone for a while.

In any event, without this file I can't install patches.  With Y2K
creeping up on us, that's becoming a necessity.  I could reinstall the
OS (that'd suck big time), upgrade to a later version (management
doesn't want to spring for the cost), or try bringing over the
/var/adm/contents from the almost identical production data warehouse
server.

I imagine the risk in bringing the othe server's file over is that some
package installed on the development server that needs updating may not
get done.  Sun support officially doesn't recommend it although the
engineer didn't sound horrified when I suggested it.

Anyone have any thoughts?

BV

 
 
 

1. frequency alphabet for files in /var/sadm/install/contents

not sure if anyone will have any use for this, but here goes.
(i got this as a side effect.)

i wanted to know what characters appeared in file names NORMALLY,
not everything that was possible.

nawk '{print $1}' /var/sadm/install/contents > scratch

take scratch, ignore / and newline, and count the characters.
ignore = since that serves to indicate links.  ignore # since
that occurs only as an artifact of the contents file.
remember that things like "usr" will get counted a lot.
here's what i got.  i did notice the tilde, which looks like a
packaging mistake.  i tracked it down:

/usr/share/lib/mailx/mailx.help
/usr/share/lib/mailx/mailx.help.~

SUNWcsu package.  but the two files are indeed quite
different, so i think it's not a mistake.

287074  s
224890  a
203628  e
190887  r
179342  o
179100  p
162660  i
155725  t
141892  n
140474  l
140236  .
131468  m
120406  c
81012   u
78606   S
74962   b
70963   d
66863   U
63377   W
59706   v
52406   g
50227   N
49836   h
49076   2
40985   f
39950   6
37067   3
31540   _
29449   k
26785   -
26317   1
23642   w
22806   x
22763   0
22096   C
15593   4
12734   j
12081   9
11736   T
11595   X
11346   7
10921   y
10081   E
10076   5
9697    8
8247    R
6931    D
6709    +
6621    V
5759    A
5395    I
5330    M
5150    F
5055    B
4412    P
3863    L
3134    O
2587    z
2575    %
2366    J
2295    G
1915    H
1598    q
1591    Z
1123    $
1108    K
673     ,
262     Y
220     Q
125     :

1       ~

all in /usr)
"," usually occurs in combination with "SUNW", in /usr/platform
and java primarily.

one frequency alphabet for ordinary english i found:

etoanrishcdlfmugypwbvkxjqz

though, of course, i don't have character counts.

j.
--

Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div.                   S224
University of Texas at Austin

2. KDE hangs

3. Help - Corrupted /var/sadm/install/contents file

4. Reverse Trace program?

5. Sol 2.5: Meaning of asterisks in /var/sadm/install/contents?

6. IDE bug?

7. anyway to rebuild /var/sadm/install/contents ?

8. Sharing Data between Linux and Windows 2000 professional

9. /var/sadm/install/contents

10. pkg - recreated /var/sadm/install/contents

11. /var/sadm/install/contents format

12. copy /var/sadm vs. install patch

13. Problem installing patch after removing /var/sadm/patch dir