> Mark Vaughan wrote:
>> well as usual I have to answer my own posts on this site!
>> It seems that there is no way to recover this file, and if
>> it gets deleted or corrupted then thats your system screwed
>> as regard installing new packages. I find this a bit crazy
>> that one file can mess up your system!
>
> Yes; this file is currently critical. One might be able to
> generate it from /var/sadm/pkg/*/save/pspool/*/pkgmap files
> if they exist. If you've patched the system this is harder
> yet.
>
> In the future, the contents file may become a view provided
> by a daemon; the daemon will still rely on some source of
> information regarding what is installed on the machine. If
> that source of information gets corrupted, problems will no
> doubt ensue there as well.
>
> There are many files in Solaris which, if corrupted, will cause
> problems, unfortunately.
>
In short :
If you mess up as the root user then "bad things happen".
Like .. duh ...
Interesting that rm -rf / will not work but I think that rm -rf /* will.
At least Alan Hargreaves says so and I have not been adventurous enough to
give that nasty item a test.
--
Dennis Clarke
_______________________________________________
opensolaris-help mailing list
[email protected]