mknod(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

mknod(8)

System Administration Commands                                        mknod(8)



NAME
       mknod - make a special file

SYNOPSIS
       mknod name b major minor


       mknod name c major minor


       mknod name p

DESCRIPTION
       mknod makes a directory entry for a special file.


       The  {PRIV_SYS_DEVICES} privilege is required to create a block-type or
       character-type special file.

OPTIONS
       The following options are supported:

       b    Create a block-type special file.


       c    Create a character-type special file.


       p    Create a FIFO (named pipe).


OPERANDS
       The following operands are supported:

       major    The major device number.


       minor    The minor device number; can be either decimal or  octal.  The
                assignment of major device numbers is specific to each system.


       name     A special file to be created.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       ftp(1), mknod(2), symlink(2), attributes(7), privileges(7)

NOTES
       If mknod(2) is used to create a device, the major and minor device num‐
       bers are always interpreted by the kernel running on that machine.


       With  the  advent  of physical device naming, it would be preferable to
       create a symbolic link to the physical  name  of  the  device  (in  the
       /devices subtree) rather than using mknod.



Oracle Solaris 11.4               3 Nov 2021                          mknod(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3