Query: mknod
OS: v7
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MKNOD(2) System Calls Manual MKNOD(2)NAMEmknod - make a directory or a special fileSYNOPSISmknod(name, mode, addr) char *name;DESCRIPTIONMknod creates a new file whose name is the null-terminated string pointed to by name. The mode of the new file (including directory and special file bits) is initialized from mode. (The protection part of the mode is modified by the process's mode mask; see umask(2)). The first block pointer of the i-node is initialized from addr. For ordinary files and directories addr is normally zero. In the case of a special file, addr specifies which special file. Mknod may be invoked only by the super-user.SEE ALSOmkdir(1), mknod(1), filsys(5)DIAGNOSTICSZero is returned if the file has been made; -1 if the file already exists or if the user is not the super-user.ASSEMBLER(mknod = 14.) sys mknod; name; mode; addr MKNOD(2)
Related Man Pages |
---|
mknod(2) - minix |
mknod(1) - centos |
mknodat(2) - freebsd |
mknod(1) - php |
mknod(1) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
mknod |
Help:NFS mknod failed |
Mknod |
What is mknod file present in /etc folder in AIX server used for ? |
Backingup larger files with TAR command |