parse_dynamic_clustertoc man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

parse_dynamic_clustertocSystem Administration Commparse_dynamic_clustertoc(1M)

NAME
       parse_dynamic_clustertoc	 -  parse  clustertoc  file  based  on dynamic
       entries

SYNOPSIS
       cdrom/export/exec/sparc.Solaris_2.x/sbin/install.d/parse_dynamic_clus‐
       tertoc

       cdrom/export/exec/i386.Solaris_2.x/sbin/install.d/parse_dynamic_clus‐
       tertoc

DESCRIPTION
       This script parses  the	 clustertoc  file  before  the	suninstall(1M)
       process	is  run.   parse_dynamic_clustertoc  is	 called	 by a modified
       sysconfig script on  the	 install  CD.	When  parse_dynamic_clustertoc
       runs,  it  reads	 the  clustertoc and when it encounters SUNW_CSRMBRIFF
       lines, it either checks the platform using the script's	builtin	 func‐
       tion,  or  calls an external script.  The script exits with  a 0 if the
       cluster entry is included,  otherwise it will be ignored.  If the clus‐
       ter entry is to be included, the SUNW_CSRMBRIFF =(test test_arg)cluster
       line is converted to SUNW_CSRMEMBER =cluster.

EXAMPLES
       Example 1: Checking For an SX Framebuffer

       The following is an example of a simple external test to check  for  an
       SX Framebuffer.	The entry in the  clustertoc file is shown and follow‐
       ing   that   is	 the   script	that   must   be   placed    in	   the
       install.d/dynamic_test directory.

       SUNW_CSRMBRIFF=(smcc.dctoc sx)SUNWCsx
       #! /bin/sh
       #
       # Likewise, this file is expected to live under $(TESTDIR).
       #
       case "$1"
       in
	       sx)     prtconf -p  | grep 'SUNW,sx' 1> /dev/null;;
       esac

FILES
       cdrom/Solaris_2.x/locale/C/.clustertoc.dynamic

	   Dynamic version of the  clustertoc file

       cdrom/export/exec/sparc.Solaris_2.x/sbin/install.d/dynamic_test

	   Directory that contains any additional tests

       cdrom/export/exec/i386.Solaris_2.x/sbin/install.d/dynamic_test

	   Directory that contains any additional tests

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │SHWPcdrom (Solaris CD)	   │
       └─────────────────────────────┴─────────────────────────────┘

SEE ALSO
       suninstall(1M), clustertoc(4), attributes(5)

SunOS 5.10			  6 Sep 1995	  parse_dynamic_clustertoc(1M)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net