Re: Location of root directory



Leave $HOME as set. For AIX currently /.
To avoid errors like rm [-rf] * in the wrong
directory, the location of roots $HOME is not
a real help (all those who removed libc.a know).
Set as least an alias rm = '/usr/bin/rm -i' or
better define an rm function which does some
checking and if -R/-r are used or the command
is executed in a system dir or ... add at least
the -i flag, print an additional warning, etc.
For core files filling up /
mkdir /core
or see the syscorepath command.
If you don't like smit.* filling up / create symlinks
to another dir, like /var/root

I expect IBM testing is done with $HOME for root
at the default. They will not catch errors in the
tests like
- on SP2, Estart failed to start the switch
In one perl script executed on the switch primary
node was a series of command|command|... and one
commands was usr/bin/grep. Works fine if home is /
but fails if home is /root, /home/root, ... :-(
- update_all failing to update an X11 package leaving
a broken installation (fixed by reinstalling the package).
Same as on the SP, some re/post install script was looking
for usr/lpp/X11/something
- other errors?
.



Relevant Pages

  • Re: Solving non linear equations
    ... I tried to solve these equations using 'fsolve' command, ... This is a problem for 'roots'. ... Then substitute the left hand expression in this equation for z in the third ...
    (comp.soft-sys.matlab)
  • Re: The relation of smallest eignevalue and elements in 4x4 matrix
    ... > Dear John and others, ... > by using 'roots' command. ... > Also I compared with 'eig' command, ...
    (comp.soft-sys.matlab)
  • Re: The relation of smallest eignevalue and elements in 4x4 matrix
    ... I have tried to find the roots of the characteristic fourth degree polynomial by using 'roots' command. ... Also I compared with 'eig' command, ... r1 and r2 are eigenvalues ...
    (comp.soft-sys.matlab)
  • Question about "solve"
    ... it will stop and return error message:" can not find the roots", ... it always return the same error message. ... use" clear all" command and solve the the determinant at the piont ...
    (comp.soft-sys.matlab)