Home

Tech

LRP

RPG

Album

   

Solaris Wisdom

Flash Archive
flarcreate -n v40z.flar -x /var/tmp/orbit-root -x /var/tmp/mapping-root -x /bak -c /bak/ians/v40z.flar

Sun Patch Error Numbers

  • 2 attempt to apply a patch that was previously applied
  • 5 pkgadd failed
  • 6 patch is obsoleted
  • 8 attempt to patch a package that is not installed

Bash Prompt:
export PS1='\[\033[01;31m\]\u@\h \[\033[01;34m\]\W \$ \[\033[00m\]'
export PS1="[\u@\h \W]\\$ "

Solaris 10 inetd
Edit inetd.conf
Run - inetconv
Run - svcadm restart inetd

Stop Stop-A:
edit /etc/system. and add the line set abort_enable=0

Redirect stderr output
program > file 2>&1

Tar file structure
copy cd sourcedir;tar cf - . | (cd targetdir;tar xf -)

No Automount?
mount -F hsfs -o ro /dev/dsk/c0t6d0s2 /cdrom

Use Version 3 NFS
mount -o vers=3 server:/share/sun /bak

Sun - 32 bit or 64 bit
isainfo -kv

raidctl
raidctl - status
raidctl -c c1t0d0 c1t1d0 - create
raidctl -d c1t0d0 - delete

Tech