PSARC 2006/435 KARCH and PLATFORM variables for automount 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