The Japanese Manual team(man-jp@jp.FreeBSD.ORG) has translated and keeps maintaining them. Submitted by: Kazuo Horikawa <horikawa@isrd.hitachi.co.jp>
107 lines
3.6 KiB
Groff
107 lines
3.6 KiB
Groff
.\" Copyright (c) 1980, 1991, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" 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.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS OR CONTRIBUTORS 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.
|
|
.\"
|
|
.\" @(#)mknod.8 8.2 (Berkeley) 12/11/93
|
|
.\" jpman %Id: mknod.8,v 1.2 1997/03/31 13:37:12 horikawa Stab %
|
|
.\"
|
|
.Dd December 11, 1993
|
|
.Dt MKNOD 8
|
|
.Os BSD 4
|
|
.Sh ̾¾Î
|
|
.Nm mknod
|
|
.Nd ¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë
|
|
.Sh ½ñ¼°
|
|
.Nm mknod
|
|
.Ar name
|
|
.Op Cm c | Cm b
|
|
.Ar major minor
|
|
.Sh ²òÀâ
|
|
.Nm mknod
|
|
¤Ï¥Ç¥Ð¥¤¥¹¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Þ¤¹¡£Ä̾¥·¥§¥ë¥¹¥¯¥ê¥×¥È
|
|
.Pa /dev/MAKEDEV
|
|
¤Ç¡¢¤è¤¯ÃΤé¤ì¤Æ¤¤¤ë¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
¤³¤Î¥¹¥¯¥ê¥×¥È¤Ï¡¢
|
|
.Nm mknod
|
|
¤ËŬÅö¤Ê°ú¿ô¤òÅϤ·¤Æ¼Â¹Ô¤·¡¢É¬ÍפÊÁ´¤Æ¤Î¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤ÎºîÀ®¤ò¤·¤Þ¤¹¡£
|
|
.Pp
|
|
.Nm mknod
|
|
¤Î°ú¿ô¤È¤·¤Æ¤Ï¡¢°Ê²¼¤Î 4 ¤Ä¤¬É¬ÍפǤ¹¡£
|
|
.Bl -tag -width majorx
|
|
.It Ar name
|
|
¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë̾¤Ç¤¹¡£¤¿¤È¤¨¤Ð
|
|
.Dq sd
|
|
¤Ï SCSI ¥Ç¥£¥¹¥¯¤Ç¡¢
|
|
.Dq pty
|
|
¤Ïµ¿»÷¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£
|
|
.It Cm b | Cm c
|
|
¥Ç¥Ð¥¤¥¹¤Î¥¿¥¤¥×¤ò»ØÄꤷ¤Þ¤¹¡£
|
|
¥Ö¥í¥Ã¥¯·¿¤Î¥Ç¥Ð¥¤¥¹¤Ï¡¢
|
|
.Cm b
|
|
¤ò»ØÄꤷ¤Þ¤¹¡£
|
|
¥Æ¡¼¥×¤ä¥Ç¥£¥¹¥¯Åù¤¬¤³¤ì¤Ë³ºÅö¤·¤Þ¤¹¤¬¡¢
|
|
¥Ö¥í¥Ã¥¯¥¹¥Ú¥·¥ã¥ë¥Ç¥Ð¥¤¥¹ (cooked) ¤È¥¥ã¥é¥¯¥¿¥¹¥Ú¥·¥ã¥ë¥Ç¥Ð¥¤¥¹ (raw) ¤Î
|
|
ξÊý¤Î¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤¬É¬ÍפǤ¹¡£
|
|
¥¥ã¥é¥¯¥¿·¿¤Î¥Ç¥Ð¥¤¥¹¤Ï¡¢
|
|
.Cm c
|
|
¤ò»ØÄꤷ¤Þ¤¹¡£
|
|
üËö¤äµ¿»÷¥Ç¥Ð¥¤¥¹Åù¤¬¤³¤ì¤Ë³ºÅö¤·¤Þ¤¹¡£
|
|
.It Ar major
|
|
¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤ò»ØÄꤷ¤Þ¤¹¡£
|
|
¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤Ï¡¢
|
|
¤É¤Î¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¥¨¥ó¥È¥ê¤ò»ÈÍѤ¹¤Ù¤¤ò¥«¡¼¥Í¥ë¤Ë¼¨¤·¤Þ¤¹¡£
|
|
¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤È¥Ç¥Ð¥¤¥¹¤ÎÂбþ¤òÃΤë¤Ë¤Ï¡¢
|
|
.Ar /dev/MAKEDEV
|
|
¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£
|
|
.It Ar minor
|
|
¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤ò»ØÄꤷ¤Þ¤¹¡£
|
|
¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤Ï¡¢
|
|
¥Ç¥Ð¥¤¥¹¤Î¤É¤Î¥µ¥Ö¥æ¥Ë¥Ã¥È¤¬
|
|
¥¹¥Ú¥·¥ã¥ë¥Õ¥¡¥¤¥ë¤ËÂбþ¤¹¤ë¤Î¤«¤ò¥«¡¼¥Í¥ë¤Ë¼¨¤·¤Þ¤¹¡£
|
|
Î㤨¤Ð¡¢¥µ¥Ö¥æ¥Ë¥Ã¥È¤Ï
|
|
¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¥Ñ¡¼¥Æ¥£¥·¥ç¥ó¤À¤Ã¤¿¤êüËö¥é¥¤¥ó¤À¤Ã¤¿¤ê¤·¤Þ¤¹¡£
|
|
.El
|
|
.Pp
|
|
¥á¥¸¥ã¡¼¥Ç¥Ð¥¤¥¹Èֹ椪¤è¤Ó¥Þ¥¤¥Ê¡¼¥Ç¥Ð¥¤¥¹ÈÖ¹æ¤È¤â
|
|
.Xr strtoul 3
|
|
¤¬¼õ¤±ÉÕ¤±¤ëǤ°Õ¤Î·Á¼°¤Ç»ØÄê²Äǽ¤Ç¤¹¡£
|
|
.Ql 0x
|
|
¤Ç»Ï¤á¤ë¤³¤È¤Ë¤è¤ê 16 ¿Ê¿ô¤È¡¢
|
|
.Ql 0
|
|
¤Ç»Ï¤á¤ë¤³¤È¤Ë¤è¤ê 8 ¿Ê¿ô¤Ç¤¢¤ë¤È²ò¼á¤µ¤»¤ë»ö¤¬½ÐÍè¤Þ¤¹¡£
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr mkfifo 1 ,
|
|
.Xr mknod 2 ,
|
|
.Xr MAKEDEV 8
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï
|
|
.At v6
|
|
¤«¤éÅо줷¤Þ¤·¤¿¡£
|