mknod man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

MKNOD(1M)							     MKNOD(1M)

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.

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.
		You must be the super-user to use this form of the command.

       name
		A special file to be created.

USAGE
       See  largefile(5)  for  the  description	 of the behavior of mknod when
       encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).

SEE ALSO
       ftp(1), in.ftpd(1M), mknod(2), symlink(2), attributes(5), largefile(5)

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.

				 Sep 16, 1996			     MKNOD(1M)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net