xref: /titanic_44/usr/src/man/man7fs/devfs.7fs (revision 56b2bdd1f04d465cfe4a95b88ae5cba5884154e4)
te
Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved.
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]
DEVFS 7FS "Oct 26, 2004"
NAME
devfs - Devices file system
DESCRIPTION

The devfs filesystem manages a name space of all devices under the Solaris operating environment and is mounted during boot on the /devices name space.

The /devices name space is dynamic and reflects the current state of accessible devices under the Solaris operating environment. The names of all attached device instances are present under /devices.

The content under /devices is under the exclusive control of the devfs filesystem and cannot be changed.

The system may be configured to include a device in one of two ways:

By means of dynamic reconfiguration (DR), using, for example, cfgadm(1M).

For devices driven by driver.conf(4) enumeration, edit the driver.conf file to add a new entry, then use update_drv(1M) to cause the system to re-read the driver.conf file and thereby enumerate the instance.

The device may be attached through a number of system calls and programs, including open(2), stat(2) and ls(1). During device attach, the device driver typically creates minor nodes corresponding to the device via ddi_create_minor_node(9F). If the attach is successful, one or more minor nodes referring to the device are created under /devices.

Operations like mknod(2), mkdir(2) and creat(2) are not supported in /devices.

FILES
/devices

Mount point for devfs file system

SEE ALSO

devfsadm(1M), vfstab(4), attach(9E)

NOTES

The /devices name space cannot be unmounted.

All content at or below the /devices name space is an implementation artifact and subject to incompatible change or removal without notification.