diff options
Diffstat (limited to 'usr/src/man/man1/mkdir.1')
-rw-r--r-- | usr/src/man/man1/mkdir.1 | 48 |
1 files changed, 16 insertions, 32 deletions
diff --git a/usr/src/man/man1/mkdir.1 b/usr/src/man/man1/mkdir.1 index 660f6061d7..4ce0e34037 100644 --- a/usr/src/man/man1/mkdir.1 +++ b/usr/src/man/man1/mkdir.1 @@ -1,16 +1,16 @@ '\" te .\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved -.\" Copyright 1989 AT&T +.\" Copyright 1989 AT&T .\" Portions Copyright (c) 1982-2007 AT&T Knowledge Ventures .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved -.\" 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 +.\" 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/. .\" 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 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 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. .\" This notice shall appear on any product containing this material. .\" 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. 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 the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH mkdir 1 "2 Nov 2007" "SunOS 5.11" "User Commands" +.TH MKDIR 1 "Nov 2, 2007" .SH NAME mkdir \- make directories .SH SYNOPSIS @@ -67,24 +67,20 @@ in \fBumask\fR(1). The following options are supported by \fB/usr/bin/mkdir\fR: .sp .ne 2 -.mk .na \fB\fB-m\fR \fImode\fR\fR .ad .RS 11n -.rt This option allows users to specify the mode to be used for new directories. Choices for modes can be found in \fBchmod\fR(1). .RE .sp .ne 2 -.mk .na \fB\fB-p\fR\fR .ad .RS 11n -.rt With this option, \fBmkdir\fR creates \fIdir\fR by creating all the non-existing parent directories first. The mode given to intermediate directories is the difference between \fB777\fR and the bits set in the file @@ -98,7 +94,6 @@ and execute permission for the user). The following options are supported by the \fBmkdir\fR built-in in \fBksh93\fR: .sp .ne 2 -.mk .na \fB\fB-m\fR \fImode\fR\fR .ad @@ -107,7 +102,6 @@ The following options are supported by the \fBmkdir\fR built-in in \fBksh93\fR: \fB\fB--mode=\fR\fImode\fR\fR .ad .RS 15n -.rt Set the mode of created directories to \fImode\fR. \fImode\fR is symbolic or octal mode as in \fBchmod\fR(1). Relative modes assume an initial mode of \fBa=rwx\fR. @@ -115,7 +109,6 @@ octal mode as in \fBchmod\fR(1). Relative modes assume an initial mode of .sp .ne 2 -.mk .na \fB\fB-p\fR\fR .ad @@ -124,7 +117,6 @@ octal mode as in \fBchmod\fR(1). Relative modes assume an initial mode of \fB\fB--parents\fR\fR .ad .RS 15n -.rt Create any missing intermediate pathname components. For each dir operand that does not name an existing directory, effects equivalent to those caused by the following command shall occur: @@ -148,12 +140,10 @@ existing directory is ignored without error. The following operand is supported: .sp .ne 2 -.mk .na \fB\fIdir\fR\fR .ad .RS 7n -.rt A path name of a directory to be created. .RE @@ -193,24 +183,20 @@ that affect the execution of \fBmkdir\fR: \fBLANG\fR, \fBLC_ALL\fR, The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 6n -.rt All the specified directories were created successfully or the \fB-p\fR option was specified and all the specified directories now exist. .RE .sp .ne 2 -.mk .na \fB\fB>0\fR\fR .ad .RS 6n -.rt An error occurred. .RE @@ -223,17 +209,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes: .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -CSIEnabled +CSI Enabled _ -Interface StabilityCommitted +Interface Stability Committed _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .SS "ksh93" @@ -241,15 +226,14 @@ StandardSee \fBstandards\fR(5). .sp .TS -tab() box; -cw(2.75i) |cw(2.75i) -lw(2.75i) |lw(2.75i) -. -ATTRIBUTE TYPEATTRIBUTE VALUE +box; +c | c +l | l . +ATTRIBUTE TYPE ATTRIBUTE VALUE _ -Interface StabilitySee below. +Interface Stability See below. _ -StandardSee \fBstandards\fR(5). +Standard See \fBstandards\fR(5). .TE .sp |