![]() |
| TOP(サイトマップ) | Solaris man マニュアル | |
| (はじめに) はじめに Solarisって・・・ SunのセミナーとSDC Solaris 10概要 資格(SCSA,SCNA) Solarisフォーラム 管理人に連絡 (Solaris基本) Solarisのインストール システムの起動と停止 ファイルシステム オートマウントとマウント パッケージとパッチ ユーザの追加と削除 ファイル権限(セキュリティ) バックアップとリストア CDE環境 プロセス管理/監視 (ネットワーク管理) OSIを理解してみる TCP/IPの設定 (TCP/IP入門) DNSの設定 NISの設定 NFSの設定(WebNFS,CacheFS) (NIS、NIS+、DNS違い) DHCPの設定 1つのNICで複数IP設定 (IO関連) インタフェース概要 SAFの管理 プリンタ管理概要 プリンタコマンド SunSolve Online SCSI情報(KEY,ASC,ASCQ) (ソフトウェア関連) Bash Apache Solstice DiskSuite (SDS OSミラー回復) Veritas VxVM (OBPについて) PROM(OBP)の概要 OBPでのキーボード操作 一般的なOBPコマンド SolarisでOBPの設定 OBPに関するFAQ (トラブル時の対応) 基本情報 エラーメッセージ (主要メッセージ一覧) 性能関連コマンド トレースコマンド クラッシュダンプ SunSolve Online (その他) 小技集 UNIXコマンド (manマニュアル) システムチューニング ネットワークチューニング UltraSPARC T1について (FAQ) rootのPASSが不明 ハングアップかな? ハードトラブル OSが起動しない(b) swap領域の拡張方法 (リンク) Sun関連リンク その他リンク アバウトなJava入門 Perlメモ(逆引き用) |
System Administration Commands devfsadm(1M)
NAME
devfsadm, devfsadmd - administration command for /dev
SYNOPSIS
/usr/sbin/devfsadm [-C] [-c device_class] [-i driver_name] [
-n] [-r root_dir] [-s] [-t table_file] [-v]
/usr/lib/devfsadm/devfsadmd
DESCRIPTION
devfsadm(1M) maintains the /dev namespace. It replaces the
previous suite of devfs administration tools including
drvconfig(1M), disks(1M), tapes(1M), ports(1M),
audlinks(1M), and devlinks(1M).
The default operation is to attempt to load every driver in
the system and attach to all possible device instances.
Next, devfsadm creates logical links to device nodes in /dev
and /devices and loads the device policy.
devfsadmd(1M) is the daemon version of devfsadm(1M). The
daemon is started during system startup and is responsible
for handling both reconfiguration boot processing and updat-
ing /dev and /devices in response to dynamic reconfiguration
event notifications from the kernel.
For compatibility purposes, drvconfig(1M), disks(1M),
tapes(1M), ports(1M), audlinks(1M), and devlinks(1M) are
implemented as links to devfsadm.
In addition to managing /dev, devfsadm also maintains the
path_to_inst(4) database.
OPTIONS
The following options are supported:
-C Cleanup mode. Prompt devfsadm to
cleanup dangling /dev links that are
not normally removed. If the -c
option is also used, devfsadm only
cleans up for the listed devices'
classes.
-c device_class Restrict operations to devices of
class device_class. Solaris defines
the following values for
device_class: disk, tape, port,
audio, and pseudo. This option might
be specified more than once to
specify multiple device classes.
-i driver_name Configure only the devices for the
named driver, driver_name.
-n Do not attempt to load drivers or
add new nodes to the kernel device
tree.
-s Suppress any changes to /dev. This
is useful with the -v option for
debugging.
-t table_file Read an alternate devlink.tab file.
devfsadm normally reads
/etc/devlink.tab.
-r root_dir Presume that the /dev directory
trees are found under root_dir, not
directly under root (/). No other
use or assumptions are made about
root_dir.
-v Print changes to /dev in verbose
mode.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
FILES
/devices device nodes directory
/dev logical symbolic links to
/devices
/usr/lib/devfsadm/devfsadmd devfsadm daemon
/dev/.devfsadm_dev.lock update lock file
/dev/.devfsadm_daemon.lock daemon lock file
/etc/security/device_policy device policy file
/etc/security/extra_privs additional device privileges
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWcsu |
|_____________________________|_____________________________|
SEE ALSO
svcs(1), add_drv(1M), modinfo(1M), modload(1M),
modunload(1M), rem_drv(1M), svcadm(1M), tapes(1M),
path_to_inst(4), attributes(5), privileges(5), smf(5),
devfs(7FS)
NOTES
This document does not constitute an API. The /devices
directory might not exist or might have different contents
or interpretations in a future release. The existence of
this notice does not imply that any other documentation that
lacks this notice constitutes an API.
devfsadm no longer manages the /devices name space. See
devfs(7FS).
SunOS 5.10 Last change: 6 Aug 2004 3
System Administration Commands devfsadm(1M)
The device configuration service is managed by the service
management facility, smf(5), under the service identifier:
svc:/system/device/local:default
Administrative actions on this service, such as enabling,
disabling, or requesting restart, can be performed using
svcadm(1M). The service's status can be queried using the
svcs(1) command.
|
|
![]() |