Catch up with removal of DEVFS
This commit is contained in:
parent
eb6d8cebc0
commit
20d178ff1c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10066
10 changed files with 14 additions and 248 deletions
|
@ -36,9 +36,9 @@
|
|||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" %FreeBSD: src/share/man/man5/fdesc.5,v 1.6.2.2 2001/07/21 09:16:52 schweikh Exp %
|
||||
.\" %FreeBSD: src/share/man/man5/Attic/fdesc.5,v 1.6.2.2 2001/07/21 09:16:52 schweikh Exp %
|
||||
.\"
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man5/fdesc.5,v 1.9 2001/05/14 01:09:28 horikawa Exp $
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man5/fdesc.5,v 1.10 2001/07/23 02:26:59 horikawa Exp $
|
||||
.\" WORD: file descriptor ファイル記述子
|
||||
.\" WORD: augment (union マウントによる)重ね合わせ
|
||||
.\"
|
||||
|
@ -130,7 +130,6 @@ fd = fcntl(STDERR_FILENO, F_DUPFD, 0);
|
|||
.El
|
||||
.Sh 関連項目
|
||||
.Xr tty 4 ,
|
||||
.Xr mount_devfs 8 ,
|
||||
.Xr mount_fdesc 8
|
||||
.Sh 歴史
|
||||
.Nm
|
||||
|
|
|
@ -306,7 +306,6 @@ MLINKS+=inetd.8 inetd.conf.5
|
|||
MLINKS+=init.8 securelevel.8
|
||||
MLINKS+=locate.updatedb.8 updatedb.8
|
||||
MLINKS+=makewhatis.local.8 catman.local.8
|
||||
MLINKS+=mount_std.8 mount_devfs.8
|
||||
MLINKS+=mount_std.8 mount_fdesc.8
|
||||
MLINKS+=mount_std.8 mount_kernfs.8
|
||||
MLINKS+=mount_std.8 mount_procfs.8
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)mount.8 8.8 (Berkeley) 6/16/94
|
||||
.\" %FreeBSD: src/sbin/mount/mount.8,v 1.31.2.5 2001/03/05 19:33:45 ru Exp %
|
||||
.\" %FreeBSD: src/sbin/mount/mount.8,v 1.31.2.6 2001/07/24 09:49:38 dd Exp %
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man8/mount.8,v 1.20 2001/05/14 01:09:51 horikawa Exp $
|
||||
.\"
|
||||
.Dd June 16, 1994
|
||||
.Dt MOUNT 8
|
||||
|
@ -369,7 +369,6 @@ type
|
|||
.Xr fstab 5 ,
|
||||
.Xr kldload 8 ,
|
||||
.Xr mount_cd9660 8 ,
|
||||
.Xr mount_devfs 8 ,
|
||||
.Xr mount_fdesc 8 ,
|
||||
.Xr mount_kernfs 8 ,
|
||||
.Xr mount_mfs 8 ,
|
||||
|
|
|
@ -34,15 +34,14 @@
|
|||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" %FreeBSD: src/sbin/mount_std/mount_std.8,v 1.9.2.3 2000/12/14 12:12:32 ru Exp %
|
||||
.\" $FreeBSD$
|
||||
.\" %FreeBSD: src/sbin/mount_std/mount_std.8,v 1.9.2.5 2001/07/24 09:49:38 dd Exp %
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man8/mount_std.8,v 1.10 2001/05/14 01:09:51 horikawa Exp $
|
||||
.\"
|
||||
.Dd May 13, 1996
|
||||
.Dt MOUNT_STD 8
|
||||
.Os FreeBSD
|
||||
.Sh 名称
|
||||
.Nm mount_std ,
|
||||
.Nm mount_devfs ,
|
||||
.Nm mount_fdesc ,
|
||||
.Nm mount_kernfs ,
|
||||
.Nm mount_linprocfs ,
|
||||
|
@ -58,7 +57,6 @@
|
|||
は ``標準'' ファイルシステムをファイルシステムにマウントする一般的な機構です。
|
||||
.Nm
|
||||
は現在以下のファイルシステムをサポートしています:
|
||||
.Nm devfs ,
|
||||
.Nm fdesc ,
|
||||
.Nm kernfs ,
|
||||
.Nm linprocfs ,
|
||||
|
@ -114,7 +112,6 @@
|
|||
を御覧下さい。
|
||||
.Pp
|
||||
ファイルシステムに関する詳細は以下のマニュアルページを参照下さい:
|
||||
.Xr devfs 5 ,
|
||||
.Xr fdesc 5 ,
|
||||
.Xr kernfs 5 ,
|
||||
.Xr linprocfs 5 ,
|
||||
|
@ -138,7 +135,6 @@
|
|||
.Xr mount 2 ,
|
||||
.Xr unmount 2 ,
|
||||
.Xr getvfsbyname 3 ,
|
||||
.Xr devfs 5 ,
|
||||
.Xr fdesc 5 ,
|
||||
.Xr fstab 5 ,
|
||||
.Xr kernfs 5 ,
|
||||
|
@ -161,10 +157,6 @@
|
|||
ファイルシステムタイプは
|
||||
.Fx 2.0
|
||||
から登場しました;
|
||||
.Dq devfs
|
||||
ファイルシステムタイプは
|
||||
.Fx 2.2
|
||||
から登場しました。
|
||||
.Dq linprocfs
|
||||
ファイルシステムタイプは
|
||||
.Fx 4.0
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" %FreeBSD: src/share/man/man9/DEVICE_ATTACH.9,v 1.3 1999/08/28 00:21:05 peter Exp %
|
||||
.\" %FreeBSD: src/share/man/man9/DEVICE_ATTACH.9,v 1.3.2.2 2001/07/24 09:49:39 dd Exp %
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man9/DEVICE_ATTACH.9,v 1.3 2001/05/14 01:10:21 horikawa Exp $
|
||||
.Dd June 16, 1998
|
||||
.Dt DEVICE_ATTACH 9
|
||||
.Os FreeBSD
|
||||
|
@ -46,7 +46,9 @@
|
|||
プローブメソッドは既に呼び出されているでしょうし、
|
||||
デバイスが存在していると示されているでしょう。
|
||||
このルーチンはハードウェアの初期化と
|
||||
その他のシステムリソース(devfs エントリなど)の割り当てを行なうべきです。
|
||||
その他のシステムリソース (
|
||||
./Pa dev
|
||||
エントリなど) の割り当てを行なうべきです。
|
||||
.Sh 戻り値
|
||||
成功時には 0 が返され、それ以外の場合は適切なエラーが返されます。
|
||||
.Sh 関連項目
|
||||
|
|
|
@ -71,9 +71,6 @@ MAN9 = BUS_PRINT_CHILD.9\
|
|||
devclass_get_maxunit.9\
|
||||
devclass_get_name.9\
|
||||
devclass_get_softc.9\
|
||||
devfs_add_devswf.9\
|
||||
devfs_link.9\
|
||||
devfs_remove_dev.9\
|
||||
device.9\
|
||||
device_add_child.9\
|
||||
device_delete_child.9\
|
||||
|
|
|
@ -1,87 +0,0 @@
|
|||
.\"
|
||||
.\" Copyright (c) 1995 Joerg Wunsch
|
||||
.\"
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" This program is free software.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
|
||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" %FreeBSD: src/share/man/man9/devfs_add_devswf.9,v 1.9.2.4 2001/07/21 09:16:57 schweikh Exp %
|
||||
.\"
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man9/devfs_add_devswf.9,v 1.3 2001/05/14 04:06:11 horikawa Exp $
|
||||
.Dd December 31, 1995
|
||||
.Os FreeBSD
|
||||
.Dt DEVFS_ADD_DEVSWF 9
|
||||
.Sh 名称
|
||||
.Nm devfs_add_devswf
|
||||
.Nd デバイスをデバイススイッチテーブルに結合
|
||||
.Sh 書式
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/devfsext.h>
|
||||
.Ft void *
|
||||
.Fn devfs_add_devswf "void *devsw" "int minor" "int chrblk" "uid_t uid" "gid_t gid" "int perms" "char *fmt" ...
|
||||
.Sh 解説
|
||||
devfs にエントリを追加する呼び出しは
|
||||
.Nm
|
||||
です。
|
||||
.Pp
|
||||
引数は以下の通りです。
|
||||
.Bl -tag -width 8n
|
||||
.It Ar devsw
|
||||
アクセスするべき devsw エントリの名前のアドレス。
|
||||
.It Ar minor
|
||||
マイナ番号。
|
||||
.It Ar chrblk
|
||||
デバイスが CHAR 型か BLK 型か。
|
||||
.It Ar uid
|
||||
所有者 UID。
|
||||
.It Ar gid
|
||||
所有者 GID。
|
||||
.It Ar perms
|
||||
パーミッション (例えば rwxr--r-- = 0744)。
|
||||
.It Ar fmt
|
||||
名前を含む整形された文字列で、
|
||||
もし当てはまるならば DEVFS の中のデバイスへのパス名。
|
||||
.El
|
||||
.Sh 戻り値
|
||||
トークンを返します。
|
||||
このトークンは、同じデバイスに対して他の名前をリンクするため
|
||||
.Pq Xr devfs_link 9 を参照
|
||||
または、そのデバイスを破棄するため
|
||||
.Pq Xr devfs_remove_dev 9 を参照
|
||||
に使用可能です。
|
||||
.Sh 関連項目
|
||||
.Xr devfs_link 9 ,
|
||||
.Xr devfs_remove_dev 9
|
||||
.Sh 歴史
|
||||
関数
|
||||
.Nm
|
||||
は
|
||||
.Fx 2.2
|
||||
で登場しました。
|
||||
.Sh 作者
|
||||
.An -nosplit
|
||||
このマニュアルページは
|
||||
.An Julian Elischer
|
||||
の解説の後に
|
||||
.An J\(:org Wunsch
|
||||
が書きました。
|
|
@ -1,66 +0,0 @@
|
|||
.\"
|
||||
.\" Copyright (c) 1995 Joerg Wunsch
|
||||
.\"
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" This program is free software.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
|
||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" %FreeBSD: src/share/man/man9/devfs_link.9,v 1.12.2.1 2000/12/08 14:59:20 ru Exp %
|
||||
.\"
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man9/devfs_link.9,v 1.2 2001/05/14 01:10:23 horikawa Exp $
|
||||
.Dd December 31, 1995
|
||||
.Os FreeBSD
|
||||
.Dt DEVFS_LINK 9
|
||||
.Sh 名称
|
||||
.Nm devfs_makelink
|
||||
.Nd devfs エントリのハードリンクの作成
|
||||
.Sh 書式
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/devfsext.h>
|
||||
.Ft void *
|
||||
.Fn devfs_makelink "void *original" "char *fmt" ...
|
||||
.Sh 解説
|
||||
関数
|
||||
.Nm
|
||||
は以前の
|
||||
.Fn devfs_add_devswf
|
||||
または
|
||||
.Fn devfs_makelink
|
||||
の呼び出しでのトークンを引数としてとり、それを
|
||||
.Ar fmt
|
||||
文字列で示された別の場所にリンクします。
|
||||
.Sh 戻り値
|
||||
新しくリンクされた devfs エントリのトークンを返します。
|
||||
.Sh 関連項目
|
||||
.Xr devfs_add_devswf 9 ,
|
||||
.Xr devfs_remove_dev 9
|
||||
.Sh 歴史
|
||||
関数
|
||||
.Nm
|
||||
は
|
||||
.Fx 2.2
|
||||
で登場しました。
|
||||
.Sh 作者
|
||||
このマニュアルページは
|
||||
.An J\(:org Wunsch
|
||||
が書きました。
|
|
@ -1,67 +0,0 @@
|
|||
.\"
|
||||
.\" Copyright (c) 1997 Julian Elischer
|
||||
.\"
|
||||
.\" All rights reserved.
|
||||
.\"
|
||||
.\" This program is free software.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary may not claim other authorship to
|
||||
.\" the exclusion of the copyright holder.
|
||||
.\" 3. Redistributors of binary releases must be willing if asked, to
|
||||
.\" admit the true authorship and source of this software.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
|
||||
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" -translation to english:
|
||||
.\" - You can't claim it's yours without admitting to the bits I wrote.
|
||||
.\" - You don't need to say anything in binary releases unless asked.
|
||||
.\" %FreeBSD: src/share/man/man9/devfs_remove_dev.9,v 1.5.2.2 2001/07/21 09:16:57 schweikh Exp %
|
||||
.\"
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man9/devfs_remove_dev.9,v 1.2 2001/05/14 01:10:23 horikawa Exp $
|
||||
.Dd December 25, 1997
|
||||
.Os FreeBSD
|
||||
.Dt DEVFS_REMOVE_DEV 9
|
||||
.Sh 名称
|
||||
.Nm devfs_remove_dev
|
||||
.Nd devfs デバイスノードへの全ての参照の削除とそのノードの削除
|
||||
.Sh 書式
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/devfsext.h>
|
||||
.Ft void
|
||||
.Fn devfs_remove_dev "void * token"
|
||||
.Sh 解説
|
||||
関数
|
||||
.Nm
|
||||
は以前の
|
||||
.Fn devfs_add_devswf
|
||||
または
|
||||
.Fn devfs_link
|
||||
の呼び出しでのトークンを引数としてとり、
|
||||
そのデバイスの全ての痕跡をデバイスファイルシステムから削除します。
|
||||
.Sh 関連項目
|
||||
.Xr devfs_add_devswf 9 ,
|
||||
.Xr devfs_link 9
|
||||
.Sh 歴史
|
||||
関数
|
||||
.Nm
|
||||
は
|
||||
.Fx 2.2
|
||||
で登場しました。
|
||||
.Sh 作者
|
||||
DEVFS は
|
||||
.An Julian Elischer
|
||||
が書きました。
|
|
@ -22,16 +22,16 @@
|
|||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" %FreeBSD: src/share/man/man9/make_dev.9,v 1.2.2.1 2001/07/21 09:16:57 schweikh Exp %
|
||||
.\" %FreeBSD: src/share/man/man9/make_dev.9,v 1.2.2.2 2001/07/24 09:49:39 dd Exp %
|
||||
.\"
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man9/make_dev.9,v 1.2 2001/05/14 01:10:24 horikawa Exp $
|
||||
.\" $FreeBSD: doc/ja_JP.eucJP/man/man9/make_dev.9,v 1.3 2001/07/23 02:27:01 horikawa Exp $
|
||||
.Dd September 25, 1999
|
||||
.Os
|
||||
.Dt MAKE_DEV 9
|
||||
.Sh 名称
|
||||
.Nm make_dev ,
|
||||
.Nm destroy_dev
|
||||
.Nd 新しいデバイスのための dev_t および devfs 登録の作成と削除
|
||||
.Nd 新しいデバイスのための dev_t の作成と削除
|
||||
.Sh 書式
|
||||
.Fd #include <sys/types.h>
|
||||
.Fd #include <sys/conf.h>
|
||||
|
@ -44,8 +44,6 @@
|
|||
関数は新しいデバイスのための
|
||||
.Fa dev_t
|
||||
構造体を作成します。
|
||||
DEVFS が利用可能な場合、
|
||||
DEVFS にもまた新しいデバイスの存在が通知されます。
|
||||
そのデバイスは
|
||||
.Va uid
|
||||
によって所有され、
|
||||
|
|
Loading…
Reference in a new issue