diff options
Diffstat (limited to 'usr/src/man/man1m/putdev.1m')
-rw-r--r-- | usr/src/man/man1m/putdev.1m | 70 |
1 files changed, 1 insertions, 69 deletions
diff --git a/usr/src/man/man1m/putdev.1m b/usr/src/man/man1m/putdev.1m index 612a121313..4452c11b56 100644 --- a/usr/src/man/man1m/putdev.1m +++ b/usr/src/man/man1m/putdev.1m @@ -3,7 +3,7 @@ .\" 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 putdev 1M "3 Apr 1997" "SunOS 5.11" "System Administration Commands" +.TH PUTDEV 1M "Apr 3, 1997" .SH NAME putdev \- edits device table .SH SYNOPSIS @@ -39,24 +39,20 @@ used, to delete an attribute assignment for a device. The following options are supported: .sp .ne 2 -.mk .na \fB\fB-a\fR\fR .ad .RS 6n -.rt Add a device to the device table using the specified attributes. The device must be referenced by its \fBalias\fR. .RE .sp .ne 2 -.mk .na \fB\fB-d\fR\fR .ad .RS 6n -.rt Remove a device from the device table, when executed without the \fIattributes\fR argument. Used with the \fIattribute\fR argument, it deletes the given attribute specification for \fIdevice\fR from the table. @@ -64,12 +60,10 @@ the given attribute specification for \fIdevice\fR from the table. .sp .ne 2 -.mk .na \fB\fB-m\fR\fR .ad .RS 6n -.rt Modify a device entry in the device table. If an entry already exists, it adds any specified attributes that are not defined. It also modifies any attributes which already have a value with the value specified by this command. @@ -81,23 +75,19 @@ which already have a value with the value specified by this command. The following operands are supported: .sp .ne 2 -.mk .na \fB\fIalias\fR\fR .ad .RS 13n -.rt Designates the alias of the device to be added. .RE .sp .ne 2 -.mk .na \fB\fIattribute\fR\fR .ad .RS 13n -.rt Designates a device attribute to be added, modified, or deleted. Can be any of the device attributes described under \fBDEVICE\fR \fBATTRIBUTES\fR except \fBalias\fR. This prevents an accidental modification or deletion of a device's @@ -106,24 +96,20 @@ alias from the table. .sp .ne 2 -.mk .na \fB\fIdevice\fR\fR .ad .RS 13n -.rt Designates the pathname or alias of the device whose attribute is to be added, modified, or removed. .RE .sp .ne 2 -.mk .na \fB\fIvalue\fR\fR .ad .RS 13n -.rt Designates the value to be assigned to a device's attribute. .RE @@ -136,12 +122,10 @@ device. You are not limited to this list, you can define any attribute you like. .sp .ne 2 -.mk .na \fB\fBalias\fR\fR .ad .RS 13n -.rt The unique name by which a device is known. No two devices in the database may share the same alias name. The name is limited in length to 14 characters and should contain only alphanumeric characters and the following special @@ -151,12 +135,10 @@ characters if they are escaped with a backslash: underscore ( _ ), dollar sign .sp .ne 2 -.mk .na \fB\fBbdevice\fR\fR .ad .RS 13n -.rt The pathname to the block special device node associated with the device, if any. The associated major/minor combination should be unique within the database and should match that associated with the \fBcdevice\fR field, if any. @@ -166,23 +148,19 @@ database and should match that associated with the \fBcdevice\fR field, if any. .sp .ne 2 -.mk .na \fB\fBcapacity\fR\fR .ad .RS 13n -.rt The capacity of the device or of the typical volume, if removable. .RE .sp .ne 2 -.mk .na \fB\fBcdevice\fR\fR .ad .RS 13n -.rt The pathname to the character special device node associated with the device, if any. The associated major/minor combination should be unique within the database and should match that associated with the \fBbdevice\fR field, if any. @@ -192,35 +170,29 @@ database and should match that associated with the \fBbdevice\fR field, if any. .sp .ne 2 -.mk .na \fB\fBcyl\fR\fR .ad .RS 13n -.rt Used by the command specified in the \fBmkfscmd\fR attribute. .RE .sp .ne 2 -.mk .na \fB\fBdesc\fR\fR .ad .RS 13n -.rt A description of any instance of a volume associated with this device (such as floppy diskette). .RE .sp .ne 2 -.mk .na \fB\fBdpartlist\fR\fR .ad .RS 13n -.rt The list of disk partitions associated with this device. Used only if \fBtype=disk\fR. The list should contain device aliases, each of which must have \fBtype=dpart\fR. @@ -228,12 +200,10 @@ have \fBtype=dpart\fR. .sp .ne 2 -.mk .na \fB\fBdparttype\fR\fR .ad .RS 13n -.rt The type of disk partition represented by this device. Used only if \fBtype=dpart\fR. It should be either \fBfs\fR (for file system) or \fBdp\fR (for data partition). @@ -241,34 +211,28 @@ The type of disk partition represented by this device. Used only if .sp .ne 2 -.mk .na \fB\fBerasecmd\fR\fR .ad .RS 13n -.rt The command string that, when executed, erases the device. .RE .sp .ne 2 -.mk .na \fB\fBfmtcmd\fR\fR .ad .RS 13n -.rt The command string that, when executed, formats the device. .RE .sp .ne 2 -.mk .na \fB\fBfsname\fR\fR .ad .RS 13n -.rt The file system name on the file system administered on this partition, as supplied to the \fB/usr/sbin/labelit\fR command. This attribute is specified only if \fBtype=dpart\fR and \fBdparttype=fs\fR. @@ -276,35 +240,29 @@ only if \fBtype=dpart\fR and \fBdparttype=fs\fR. .sp .ne 2 -.mk .na \fB\fBgap\fR\fR .ad .RS 13n -.rt Used by the command specified in the \fBmkfscmd\fR attribute. .RE .sp .ne 2 -.mk .na \fB\fBmkfscmd\fR\fR .ad .RS 13n -.rt The command string that, when executed, places a file system on a previously formatted device. .RE .sp .ne 2 -.mk .na \fB\fBmountpt\fR\fR .ad .RS 13n -.rt The default mount point to use for the device. Used only if the device is mountable. For disk partitions where \fBtype=dpart\fR and \fBdparttype=fs\fR, this attribute should specify the location where the partition is normally @@ -313,72 +271,60 @@ mounted. .sp .ne 2 -.mk .na \fB\fBnblocks\fR\fR .ad .RS 13n -.rt The number of blocks in the file system administered on this partition. Used only if \fBtype=dpart\fR and \fBdparttype=fs\fR. .RE .sp .ne 2 -.mk .na \fB\fBninodes\fR\fR .ad .RS 13n -.rt The number of inodes in the file system administered on this partition. Used only if \fBtype=dpart\fR and \fBdparttype=fs\fR. .RE .sp .ne 2 -.mk .na \fB\fBnorewind\fR\fR .ad .RS 13n -.rt The name of the character special device node that allows access to the serial device without rewinding when the device is closed. .RE .sp .ne 2 -.mk .na \fB\fBpathname\fR\fR .ad .RS 13n -.rt Defines the pathname to an i-node describing the device (used for non-block or character device pathnames, such as directories). .RE .sp .ne 2 -.mk .na \fB\fBtype\fR\fR .ad .RS 13n -.rt A token that represents inherent qualities of the device. Standard types include: 9-track, ctape, disk, directory, diskette, dpart, and qtape. .RE .sp .ne 2 -.mk .na \fB\fBvolname\fR\fR .ad .RS 13n -.rt The volume name on the file system administered on this partition, as supplied to the \fB/usr/sbin/labelit\fR command. Used only if \fBtype=dpart\fR and \fBdparttype=fs\fR. @@ -386,12 +332,10 @@ to the \fB/usr/sbin/labelit\fR command. Used only if \fBtype=dpart\fR and .sp .ne 2 -.mk .na \fB\fBvolume\fR\fR .ad .RS 13n -.rt A text string used to describe any instance of a volume associated with this device. This attribute should not be defined for devices which are not removable. @@ -403,47 +347,39 @@ removable. The following exit values are returned: .sp .ne 2 -.mk .na \fB\fB0\fR\fR .ad .RS 5n -.rt Successful completion. .RE .sp .ne 2 -.mk .na \fB\fB1\fR\fR .ad .RS 5n -.rt Command syntax was incorrect, an invalid option was used, or an internal error occurred. .RE .sp .ne 2 -.mk .na \fB\fB2\fR\fR .ad .RS 5n -.rt The device table could not be opened for reading, or a new device table could not be created. .RE .sp .ne 2 -.mk .na \fB\fB3\fR\fR .ad .RS 5n -.rt If executed with the \fB-a\fR option, indicates that an entry in the device table with the alias \fBalias\fR already exits. If executed with the \fB-m\fR or \fB-d\fR options, indicates that no entry exists for device \fIdevice\fR. @@ -451,12 +387,10 @@ or \fB-d\fR options, indicates that no entry exists for device \fIdevice\fR. .sp .ne 2 -.mk .na \fB\fB4\fR\fR .ad .RS 5n -.rt Indicates that \fB-d\fR was requested and one or more of the specified attributes were not defined for the device. .RE @@ -464,12 +398,10 @@ attributes were not defined for the device. .SH FILES .sp .ne 2 -.mk .na \fB\fB/etc/device.tab\fR\fR .ad .RS 19n -.rt .RE |