Print this page
4146 getconf(1) does not support XATTR_ENABLED, XATTR_EXISTS, SATTR_ENABLED, SATTR_EXISTS keys
Reviewed by: Cedric Blancher <cedric.blancher@gmail.com>
Reviewed by: Irek Szczesniak <iszczesniak@gmail.com>
   1 '\" te
   2 .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved
   3 .\" Portions Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
   4 .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures
   5 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at  http://www.opengroup.org/bookstore/.
   6 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text
   7 .\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical
   8 .\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   9 .\"  This notice shall appear on any product containing this material.
  10 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
  11 .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with
  12 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  13 .TH GETCONF 1 "Jan 16, 2013"
  14 .SH NAME
  15 getconf \- get configuration values
  16 .SH SYNOPSIS
  17 .SS "/usr/bin/getconf, /usr/xpg4/bin/getconf, /usr/xpg6/bin/getconf"
  18 .LP
  19 .nf
  20 \fB/usr/bin/getconf\fR [\fB-v\fR \fIspecification\fR] \fIsystem_var\fR
  21 .fi
  22 
  23 .LP
  24 .nf
  25 \fB/usr/bin/getconf\fR [\fB-v\fR \fIspecification\fR] \fIpath_var\fR \fIpathname\fR
  26 .fi
  27 
  28 .LP
  29 .nf
  30 \fB/usr/bin/getconf\fR \fB-a\fR
  31 .fi
  32 
  33 .LP


 391 .LP
 392 The following operands are supported by \fB/usr/bin/getconf\fR,
 393 \fB/usr/xpg4/bin/getconf\fR, and \fB/usr/xpg6/bin/getconf\fR:
 394 .sp
 395 .ne 2
 396 .na
 397 \fB\fIpath_var\fR\fR
 398 .ad
 399 .RS 12n
 400 A name of a configuration variable whose value is available from the
 401 \fBpathconf\fR(2) function. All of the values in the following table are
 402 supported:
 403 .RE
 404 
 405 .sp
 406 
 407 .sp
 408 .TS
 409 l l l
 410 l l l .
 411 LINK_MAX        NAME_MAX        _POSIX_CHOWN_RESTRICTED
 412 MAX_CANON       PATH_MAX        _POSIX_NO_TRUNC
 413 MAX_INPUT       PIPE_BUF        _POSIX_VDISABLE


 414 .TE
 415 
 416 .sp
 417 .ne 2
 418 .na
 419 \fB\fIpathname\fR\fR
 420 .ad
 421 .RS 14n
 422 A path name for which the variable specified by \fIpath_var\fR is to be
 423 determined.
 424 .RE
 425 
 426 .sp
 427 .ne 2
 428 .na
 429 \fB\fIsystem_var\fR\fR
 430 .ad
 431 .RS 14n
 432 A name of a configuration variable whose value is available from
 433 \fBconfstr\fR(3C) or \fBsysconf\fR(3C). All of the values in the following


   1 '\" te
   2 .\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved
   3 .\" Portions Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
   4 .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures
   5 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at  http://www.opengroup.org/bookstore/.
   6 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text
   7 .\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical
   8 .\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   9 .\"  This notice shall appear on any product containing this material.
  10 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
  11 .\"  See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with
  12 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  13 .TH GETCONF 1 "Sep 27, 2013"
  14 .SH NAME
  15 getconf \- get configuration values
  16 .SH SYNOPSIS
  17 .SS "/usr/bin/getconf, /usr/xpg4/bin/getconf, /usr/xpg6/bin/getconf"
  18 .LP
  19 .nf
  20 \fB/usr/bin/getconf\fR [\fB-v\fR \fIspecification\fR] \fIsystem_var\fR
  21 .fi
  22 
  23 .LP
  24 .nf
  25 \fB/usr/bin/getconf\fR [\fB-v\fR \fIspecification\fR] \fIpath_var\fR \fIpathname\fR
  26 .fi
  27 
  28 .LP
  29 .nf
  30 \fB/usr/bin/getconf\fR \fB-a\fR
  31 .fi
  32 
  33 .LP


 391 .LP
 392 The following operands are supported by \fB/usr/bin/getconf\fR,
 393 \fB/usr/xpg4/bin/getconf\fR, and \fB/usr/xpg6/bin/getconf\fR:
 394 .sp
 395 .ne 2
 396 .na
 397 \fB\fIpath_var\fR\fR
 398 .ad
 399 .RS 12n
 400 A name of a configuration variable whose value is available from the
 401 \fBpathconf\fR(2) function. All of the values in the following table are
 402 supported:
 403 .RE
 404 
 405 .sp
 406 
 407 .sp
 408 .TS
 409 l l l
 410 l l l .
 411 ACL_ENABLED     NAME_MAX        XATTR_ENABLED
 412 LINK_MAX        PATH_MAX        XATTR_EXISTS
 413 MAX_CANON       PIPE_BUF        _POSIX_CHOWN_RESTRICTED
 414 MAX_INPUT       SATTR_ENABLED   _POSIX_NO_TRUNC
 415 MIN_HOLE_SIZE   SATTR_EXISTS    _POSIX_VDISABLE
 416 .TE
 417 
 418 .sp
 419 .ne 2
 420 .na
 421 \fB\fIpathname\fR\fR
 422 .ad
 423 .RS 14n
 424 A path name for which the variable specified by \fIpath_var\fR is to be
 425 determined.
 426 .RE
 427 
 428 .sp
 429 .ne 2
 430 .na
 431 \fB\fIsystem_var\fR\fR
 432 .ad
 433 .RS 14n
 434 A name of a configuration variable whose value is available from
 435 \fBconfstr\fR(3C) or \fBsysconf\fR(3C). All of the values in the following