Subject: PSARC FastTrack [07/21/2006]: Automount KARCH and PLATFORM variables


Template Version: @(#)sac_nextcase 1.56 10/26/05 SMI
This information is Sun Proprietary: Need-to-Know
1. Introduction
    1.1. Project/Component Working Name:
         Automount KARCH and PLATFORM variables
    1.2. Name of Document Author/Supplier:
         Author:  Rainer Orth
    1.3  Date of This Document:
        14 July, 2006
4. Technical Description

SUMMARY

  This is a proposal to add automount(1) variables corresponding to uname
  -m and uname -i so every uname(1) option is available in maps.

PROBLEM

  On SPARC systems, the ARCH variable in automount(1) maps is fixed as sun4
  for backwards compatibilty, similar to the output of arch(1).  Therefore,
  there's currently no variable representing the output of uname -m
  resp. arch -k.

  Similarly, there are variables corresponding to every uname(1) option with
  the exception of uname -i.

  Users who need this information in automount(1) maps are forced to define
  variables themselves, e.g. in /etc/default/autofs, which is inconvient
  since it must be done locally on every host.

PROPOSED SOLUTION

  For completeness' sake there should be predefined variables representing
  the missing uname(1) options:

  KARCH         output of arch -k/uname -m
  PLATFORM      output of uname -i

  The names are chosen to be mnemonic: since ARCH is used for arch(1)
  output, KARCH for arch -k output seems natural.  PLATFORM is already used
  by ld.so.1(1).

  A micro/patch binding is requested.

  Stability level: Commited.


REFERENCS
  materials/automount.1m.diff


6. Resources and Schedule
    6.4. Steering Committee requested information
        6.4.1. Consolidation C-team Name:
                ON
    6.5. ARC review type: FastTrack

Reply via email to