DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: m

⟦4b78403da⟧

    Length: 5224 (0x1468)
    Names: »mknod.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat2/mknod.2« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c   ┆ u_ a_ l             System Call┆
0x0040…0060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 6b 6e 6f 64 28 32 29 0a 0a 0a 0a   ┆s                   mknod(2)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 6d 6b 6e 6f 64 20 2d 20 6d 61 6b 65 20 61 20 64 69 72 65 63 74 6f 72 79 2c 20 61 20 73 70   ┆  mknod - make a directory, a sp┆
0x00a0…00c0 65 63 69 61 6c 20 6f 72 20 6f 72 64 69 6e 61 72 79 20 66 69 6c 65 2c 20 6f 72 20 61 0a 20 20 20   ┆ecial or ordinary file, or a    ┆
0x00c0…00e0 20 20 46 49 46 4f 2e 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08   ┆  FIFO.  S S S SY Y Y YN N N NT ┆
0x00e0…0100 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23   ┆T T TA A A AX X X X      # # # #┆
0x0100…0120 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08   ┆i i i in n n nc c c cl l l lu u ┆
0x0120…0140 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73   ┆u ud d d de e e e < < < <s s s s┆
0x0140…0160 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74 08 74 08 74 08 74 79 08 79 08   ┆y y y ys s s s/ / / /t t t ty y ┆
0x0160…0180 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 2e 68   ┆y yp p p pe e e es s s s. . . .h┆
0x0180…01a0 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08   ┆ h h h> > > >      # # # #i i i ┆
0x01a0…01c0 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64   ┆in n n nc c c cl l l lu u u ud d┆
0x01c0…01e0 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08   ┆ d de e e e < < < <s s s sy y y ┆
0x01e0…0200 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61   ┆ys s s s/ / / /s s s st t t ta a┆
0x0200…0220 08 61 08 61 74 08 74 08 74 08 74 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e   ┆ a at t t t. . . .h h h h> > > >┆
0x0220…0240 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 6d 08 6d   ┆       i i i in n n nt t t t m m┆
0x0240…0260 08 6d 08 6d 6b 08 6b 08 6b 08 6b 6e 08 6e 08 6e 08 6e 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08 64   ┆ m mk k k kn n n no o o od d d d┆
0x0260…0280 20 28 08 28 08 28 08 28 70 08 70 08 70 08 70 61 08 61 08 61 08 61 74 08 74 08 74 08 74 68 08 68   ┆ ( ( ( (p p p pa a a at t t th h┆
0x0280…02a0 08 68 08 68 2c 08 2c 08 2c 08 2c 20 6d 08 6d 08 6d 08 6d 6f 08 6f 08 6f 08 6f 64 08 64 08 64 08   ┆ h h, , , , m m m mo o o od d d ┆
0x02a0…02c0 64 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 64 08 64 08 64 08 64 65 08 65 08 65 08 65 76 08   ┆de e e e, , , , d d d de e e ev ┆
0x02c0…02e0 76 08 76 08 76 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68   ┆v v v) ) ) )      c c c ch h h h┆
0x02e0…0300 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 61 08 61   ┆a a a ar r r r * * * *p p p pa a┆
0x0300…0320 08 61 08 61 74 08 74 08 74 08 74 68 08 68 08 68 08 68 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69   ┆ a at t t th h h h; ; ; ;      i┆
0x0320…0340 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 6d 08 6d 08 6d 08 6d 6f 08 6f 08   ┆ i i in n n nt t t t m m m mo o ┆
0x0340…0360 6f 08 6f 64 08 64 08 64 08 64 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 64 08 64 08 64 08 64   ┆o od d d de e e e, , , , d d d d┆
0x0360…0380 65 08 65 08 65 08 65 76 08 76 08 76 08 76 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08   ┆e e e ev v v v; ; ; ;  D D D DE ┆
0x0380…03a0 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08   ┆E E ES S S SC C C CR R R RI I I ┆
0x03a0…03c0 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e   ┆IP P P PT T T TI I I IO O O ON N┆
0x03c0…03e0 08 4e 08 4e 0a 20 20 20 20 20 5f 08 6d 5f 08 6b 5f 08 6e 5f 08 6f 5f 08 64 20 63 72 65 61 74 65   ┆ N N      _ m_ k_ n_ o_ d create┆
0x03e0…0400 73 20 61 20 6e 65 77 20 66 69 6c 65 20 6e 61 6d 65 64 20 62 79 20 74 68 65 20 70 61 74 68 20 6e   ┆s a new file named by the path n┆
0x0400…0420 61 6d 65 20 70 6f 69 6e 74 65 64 20 74 6f 0a 20 20 20 20 20 62 79 20 5f 08 70 5f 08 61 5f 08 74   ┆ame pointed to      by _ p_ a_ t┆
0x0420…0440 5f 08 68 2e 0a 0a 20 20 20 20 20 54 68 65 20 6d 6f 64 65 20 6f 66 20 74 68 65 20 6e 65 77 20 66   ┆_ h.       The mode of the new f┆
0x0440…0460 69 6c 65 20 69 73 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 66 72 6f 6d 20 74 68 65 20 61 72 67 75   ┆ile is initialized from the argu┆
0x0460…0480 6d 65 6e 74 0a 20 20 20 20 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 2e 20 20 53 79 6d 62 6f 6c 69   ┆ment      _ m_ o_ d_ e.  Symboli┆
0x0480…04a0 63 20 63 6f 6e 73 74 61 6e 74 73 20 64 65 66 69 6e 69 6e 67 20 74 68 65 20 76 61 6c 75 65 20 6f   ┆c constants defining the value o┆
0x04a0…04c0 66 20 74 68 65 20 61 72 67 75 6d 65 6e 74 0a 20 20 20 20 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65   ┆f the argument      _ m_ o_ d_ e┆
0x04c0…04e0 20 61 72 65 20 69 6e 20 74 68 65 20 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73   ┆ are in the <s s s sy y y ys s s┆
0x04e0…0500 08 73 2f 08 2f 08 2f 08 2f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 74 08   ┆ s/ / / /s s s st t t ta a a at ┆
0x0500…0520 74 08 74 08 74 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 20 68 65 61 64 65 72 20 66 69 6c 65   ┆t t t. . . .h h h h> header file┆
0x0520…0540 20 61 6e 64 20 73 68 6f 75 6c 64 20 62 65 20 75 73 65 64 0a 20 20 20 20 20 74 6f 20 63 6f 6e 73   ┆ and should be used      to cons┆
0x0540…0560 74 72 75 63 74 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 2e 20 20 54 68 65 20 76 61 6c 75 65 20 6f   ┆truct _ m_ o_ d_ e.  The value o┆
0x0560…0580 66 20 74 68 65 20 61 72 67 75 6d 65 6e 74 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 20 73 68 6f 75   ┆f the argument _ m_ o_ d_ e shou┆
0x0580…05a0 6c 64 20 62 65 0a 20 20 20 20 20 74 68 65 20 6c 6f 67 69 63 61 6c 20 4f 52 20 6f 66 20 74 68 65   ┆ld be      the logical OR of the┆
0x05a0…05c0 20 76 61 6c 75 65 73 20 6f 66 20 74 68 65 20 64 65 73 69 72 65 64 20 70 65 72 6d 69 73 73 69 6f   ┆ values of the desired permissio┆
0x05c0…05e0 6e 73 3a 0a 0a 20 20 20 20 20 5f 08 4e 5f 08 61 5f 08 6d 5f 08 65 20 20 20 20 20 20 5f 08 44 5f   ┆ns:       _ N_ a_ m_ e      _ D_┆
0x05e0…0600 08 65 5f 08 73 5f 08 63 5f 08 72 5f 08 69 5f 08 70 5f 08 74 5f 08 69 5f 08 6f 5f 08 6e 0a 0a 20   ┆ e_ s_ c_ r_ i_ p_ t_ i_ o_ n   ┆
0x0600…0620 20 20 20 20 5b 53 5f 49 46 4d 54 5d 20 20 20 20 20 20 20 66 69 6c 65 20 74 79 70 65 3b 20 6f 6e   ┆    [S_IFMT]       file type; on┆
0x0620…0640 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 3a 0a 0a 20 20 20 20 20 5b 53 5f 49 46 49   ┆e of the following:       [S_IFI┆
0x0640…0660 46 4f 5d 20 20 20 20 20 20 46 49 46 4f 2d 73 70 65 63 69 61 6c 0a 0a 20 20 20 20 20 5b 53 5f 49   ┆FO]      FIFO-special       [S_I┆
0x0660…0680 46 43 48 52 5d 20 20 20 20 20 20 63 68 61 72 61 63 74 65 72 2d 73 70 65 63 69 61 6c 0a 0a 20 20   ┆FCHR]      character-special    ┆
0x0680…06a0 20 20 20 5b 53 5f 49 46 44 49 52 5d 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 20 6e 6f 64 65   ┆   [S_IFDIR]      directory node┆
0x06a0…06c0 0a 0a 20 20 20 20 20 5b 53 5f 49 46 42 4c 4b 5d 20 20 20 20 20 20 62 6c 6f 63 6b 2d 73 70 65 63   ┆       [S_IFBLK]      block-spec┆
0x06c0…06e0 69 61 6c 0a 0a 20 20 20 20 20 5b 53 5f 49 46 52 45 47 5d 20 20 20 20 20 20 6f 72 64 69 6e 61 72   ┆ial       [S_IFREG]      ordinar┆
0x06e0…0700 79 2d 66 69 6c 65 0a 0a 20 20 20 20 20 5b 53 5f 49 53 55 49 44 5d 20 20 20 20 20 20 73 65 74 20   ┆y-file       [S_ISUID]      set ┆
0x0700…0720 75 73 65 72 2d 49 44 20 6f 6e 20 65 78 65 63 75 74 69 6f 6e 0a 0a 20 20 20 20 20 5b 53 5f 49 53   ┆user-ID on execution       [S_IS┆
0x0720…0740 47 49 44 5d 20 20 20 20 20 20 73 65 74 20 67 72 6f 75 70 2d 49 44 20 6f 6e 20 65 78 65 63 75 74   ┆GID]      set group-ID on execut┆
0x0740…0760 69 6f 6e 0a 0a 20 20 20 20 20 5b 53 5f 49 53 56 54 58 5d 20 20 20 20 20 20 28 72 65 73 65 72 76   ┆ion       [S_ISVTX]      (reserv┆
0x0760…0780 65 64 29 0a 0a 20 20 20 20 20 5b 53 5f 45 4e 46 4d 54 5d 20 20 20 20 20 20 72 65 63 6f 72 64 20   ┆ed)       [S_ENFMT]      record ┆
0x0780…07a0 6c 6f 63 6b 69 6e 67 20 65 6e 66 6f 72 63 65 64 0a 0a 20 20 20 20 20 5b 53 5f 49 52 55 53 52 5d   ┆locking enforced       [S_IRUSR]┆
0x07a0…07c0 20 20 20 20 20 20 72 65 61 64 20 62 79 20 6f 77 6e 65 72 0a 0a 20 20 20 20 20 5b 53 5f 49 57 55   ┆      read by owner       [S_IWU┆
0x07c0…07e0 53 52 5d 20 20 20 20 20 20 77 72 69 74 65 20 62 79 20 6f 77 6e 65 72 0a 0a 20 20 20 20 20 5b 53   ┆SR]      write by owner       [S┆
0x07e0…0800 5f 49 58 55 53 52 5d 20 20 20 20 20 20 65 78 65 63 75 74 65 20 28 73 65 61 72 63 68 29 20 62 79   ┆_IXUSR]      execute (search) by┆
0x0800…0820 20 6f 77 6e 65 72 0a 0a 20 20 20 20 20 5b 53 5f 49 52 47 52 50 5d 20 20 20 20 20 20 72 65 61 64   ┆ owner       [S_IRGRP]      read┆
0x0820…0840 20 62 79 20 67 72 6f 75 70 0a 0a 20 20 20 20 20 5b 53 5f 49 57 47 52 50 5d 20 20 20 20 20 20 77   ┆ by group       [S_IWGRP]      w┆
0x0840…0860 72 69 74 65 20 62 79 20 67 72 6f 75 70 0a 0a 20 20 20 20 20 5b 53 5f 49 58 47 52 50 5d 20 20 20   ┆rite by group       [S_IXGRP]   ┆
0x0860…0880 20 20 20 65 78 65 63 75 74 65 20 28 73 65 61 72 63 68 29 20 62 79 20 67 72 6f 75 70 0a 0a 20 20   ┆   execute (search) by group    ┆
0x0880…08a0 20 20 20 5b 53 5f 49 52 4f 54 48 5d 20 20 20 20 20 20 72 65 61 64 20 62 79 20 6f 74 68 65 72 73   ┆   [S_IROTH]      read by others┆
0x08a0…08c0 20 28 69 2e 65 2e 20 61 6e 79 6f 6e 65 20 65 6c 73 65 29 0a 0a 20 20 20 20 20 5b 53 5f 49 57 4f   ┆ (i.e. anyone else)       [S_IWO┆
0x08c0…08e0 54 48 5d 20 20 20 20 20 20 77 72 69 74 65 20 62 79 20 6f 74 68 65 72 73 0a 0a 0a 0a 0a 0a 0a 20   ┆TH]      write by others        ┆
0x08e0…0900 20 20 20 20 5b 53 5f 49 58 4f 54 48 5d 20 20 20 20 20 20 65 78 65 63 75 74 65 20 28 73 65 61 72   ┆    [S_IXOTH]      execute (sear┆
0x0900…0920 63 68 29 20 62 79 20 6f 74 68 65 72 73 0a 0a 20 20 20 20 20 54 68 65 20 6f 77 6e 65 72 20 49 44   ┆ch) by others       The owner ID┆
0x0920…0940 20 6f 66 20 74 68 65 20 66 69 6c 65 20 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 65 66 66 65 63   ┆ of the file is set to the effec┆
0x0940…0960 74 69 76 65 20 75 73 65 72 20 49 44 20 6f 66 0a 20 20 20 20 20 74 68 65 20 70 72 6f 63 65 73 73   ┆tive user ID of      the process┆
0x0960…0980 2e 20 20 54 68 65 20 67 72 6f 75 70 20 49 44 20 6f 66 20 74 68 65 20 66 69 6c 65 20 69 73 20 73   ┆.  The group ID of the file is s┆
0x0980…09a0 65 74 20 74 6f 20 74 68 65 20 65 66 66 65 63 2d 0a 20 20 20 20 20 74 69 76 65 20 67 72 6f 75 70   ┆et to the effec-      tive group┆
0x09a0…09c0 20 49 44 20 6f 66 20 74 68 65 20 70 72 6f 63 65 73 73 2e 0a 0a 20 20 20 20 20 56 61 6c 75 65 73   ┆ ID of the process.       Values┆
0x09c0…09e0 20 6f 66 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 20 6f 74 68 65 72 20 74 68 61 6e 20 74 68 6f 73   ┆ of _ m_ o_ d_ e other than thos┆
0x09e0…0a00 65 20 61 62 6f 76 65 20 61 72 65 20 75 6e 64 65 66 69 6e 65 64 20 61 6e 64 0a 20 20 20 20 20 73   ┆e above are undefined and      s┆
0x0a00…0a20 68 6f 75 6c 64 20 6e 6f 74 20 62 65 20 75 73 65 64 2e 20 20 54 68 65 20 6f 77 6e 65 72 2c 20 67   ┆hould not be used.  The owner, g┆
0x0a20…0a40 72 6f 75 70 20 61 6e 64 20 6f 74 68 65 72 20 70 65 72 6d 69 73 73 69 6f 6e 0a 20 20 20 20 20 62   ┆roup and other permission      b┆
0x0a40…0a60 69 74 73 20 6f 66 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65 20 61 72 65 20 6d 6f 64 69 66 69 65 64   ┆its of _ m_ o_ d_ e are modified┆
0x0a60…0a80 20 62 79 20 74 68 65 20 70 72 6f 63 65 73 73 27 20 66 69 6c 65 20 6d 6f 64 65 20 63 72 65 61 74   ┆ by the process' file mode creat┆
0x0a80…0aa0 69 6f 6e 0a 20 20 20 20 20 6d 61 73 6b 2e 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 5f 08 6d   ┆ion      mask.  The function _ m┆
0x0aa0…0ac0 5f 08 6b 5f 08 6e 5f 08 6f 5f 08 64 20 63 6c 65 61 72 73 20 65 61 63 68 20 62 69 74 20 77 68 6f   ┆_ k_ n_ o_ d clears each bit who┆
0x0ac0…0ae0 73 65 20 63 6f 72 72 65 73 70 6f 6e 64 2d 0a 20 20 20 20 20 69 6e 67 20 62 69 74 20 69 6e 20 74   ┆se correspond-      ing bit in t┆
0x0ae0…0b00 68 65 20 70 72 6f 63 65 73 73 27 20 66 69 6c 65 20 6d 6f 64 65 20 63 72 65 61 74 69 6f 6e 20 6d   ┆he process' file mode creation m┆
0x0b00…0b20 61 73 6b 20 69 73 20 73 65 74 20 28 73 65 65 0a 20 20 20 20 20 5f 08 75 5f 08 6d 5f 08 61 5f 08   ┆ask is set (see      _ u_ m_ a_ ┆
0x0b20…0b40 73 5f 08 6b 28 5f 08 32 29 29 2e 0a 0a 20 20 20 20 20 49 66 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08   ┆s_ k(_ 2)).       If _ m_ o_ d_ ┆
0x0b40…0b60 65 20 69 6e 64 69 63 61 74 65 73 20 61 20 62 6c 6f 63 6b 2d 73 70 65 63 69 61 6c 20 6f 72 20 63   ┆e indicates a block-special or c┆
0x0b60…0b80 68 61 72 61 63 74 65 72 2d 73 70 65 63 69 61 6c 20 66 69 6c 65 2c 0a 20 20 20 20 20 5f 08 64 5f   ┆haracter-special file,      _ d_┆
0x0b80…0ba0 08 65 5f 08 76 20 69 73 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2d 64 65 70 65 6e 64 65   ┆ e_ v is a configuration-depende┆
0x0ba0…0bc0 6e 74 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 61 20 63 68 61 72 61 63 2d 0a 20 20   ┆nt specification of a charac-   ┆
0x0bc0…0be0 20 20 20 74 65 72 20 6f 72 20 62 6c 6f 63 6b 20 49 2f 4f 20 64 65 76 69 63 65 2e 20 20 54 68 65   ┆   ter or block I/O device.  The┆
0x0be0…0c00 20 76 61 6c 75 65 20 6f 66 20 5f 08 64 5f 08 65 5f 08 76 20 69 73 20 6f 62 74 61 69 6e 65 64 20   ┆ value of _ d_ e_ v is obtained ┆
0x0c00…0c20 66 72 6f 6d 0a 20 20 20 20 20 74 68 65 20 73 74 5f 72 64 65 76 20 66 69 65 6c 64 20 6f 66 20 74   ┆from      the st_rdev field of t┆
0x0c20…0c40 68 65 20 73 74 61 74 20 73 74 72 75 63 74 75 72 65 20 28 73 65 65 20 5f 08 73 5f 08 74 5f 08 61   ┆he stat structure (see _ s_ t_ a┆
0x0c40…0c60 5f 08 74 28 5f 08 32 29 29 2e 20 20 49 66 0a 20 20 20 20 20 5f 08 6d 5f 08 6f 5f 08 64 5f 08 65   ┆_ t(_ 2)).  If      _ m_ o_ d_ e┆
0x0c60…0c80 20 64 6f 65 73 20 6e 6f 74 20 69 6e 64 69 63 61 74 65 20 61 20 62 6c 6f 63 6b 2d 73 70 65 63 69   ┆ does not indicate a block-speci┆
0x0c80…0ca0 61 6c 20 6f 72 20 63 68 61 72 61 63 74 65 72 2d 73 70 65 63 69 61 6c 0a 20 20 20 20 20 64 65 76   ┆al or character-special      dev┆
0x0ca0…0cc0 69 63 65 2c 20 5f 08 64 5f 08 65 5f 08 76 20 69 73 20 69 67 6e 6f 72 65 64 2e 0a 0a 20 20 20 20   ┆ice, _ d_ e_ v is ignored.      ┆
0x0cc0…0ce0 20 5f 08 6d 5f 08 6b 5f 08 6e 5f 08 6f 5f 08 64 20 6d 61 79 20 62 65 20 69 6e 76 6f 6b 65 64 20   ┆ _ m_ k_ n_ o_ d may be invoked ┆
0x0ce0…0d00 6f 6e 6c 79 20 62 79 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 20 66 6f 72 20 66 69 6c 65 20   ┆only by the super-user for file ┆
0x0d00…0d20 74 79 70 65 73 0a 20 20 20 20 20 6f 74 68 65 72 20 74 68 61 6e 20 46 49 46 4f 20 73 70 65 63 69   ┆types      other than FIFO speci┆
0x0d20…0d40 61 6c 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08   ┆al.  E E E ER R R RR R R RO O O ┆
0x0d40…0d60 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 6d 5f 08 6b 5f 08 6e 5f 08   ┆OR R R RS S S S      _ m_ k_ n_ ┆
0x0d60…0d80 6f 5f 08 64 20 66 61 69 6c 73 20 61 6e 64 20 74 68 65 20 6e 65 77 20 66 69 6c 65 20 69 73 20 6e   ┆o_ d fails and the new file is n┆
0x0d80…0da0 6f 74 20 63 72 65 61 74 65 64 20 69 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 0a 20 20 20 20 20 6f   ┆ot created if one or more      o┆
0x0da0…0dc0 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 72 65 20 74 72 75 65 3a 0a 0a 20 20 20 20 20   ┆f the following are true:       ┆
0x0dc0…0de0 5b 45 41 43 43 45 53 5d 20 20 20 20 20 20 20 41 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 74 68   ┆[EACCES]       A component of th┆
0x0de0…0e00 65 20 70 61 74 68 20 70 72 65 66 69 78 20 64 65 6e 69 65 73 20 73 65 61 72 63 68 0a 20 20 20 20   ┆e path prefix denies search     ┆
0x0e00…0e20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 65 72 6d 69 73 73 69 6f 6e 20 61 6e 64 20 74   ┆                permission and t┆
0x0e20…0e40 68 65 20 65 66 66 65 63 74 69 76 65 2d 75 73 65 72 2d 49 44 20 6f 66 20 74 68 65 0a 20 20 20 20   ┆he effective-user-ID of the     ┆
0x0e40…0e60 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 20 69 73 20 6e 6f 74 20 73   ┆                process is not s┆
0x0e60…0e80 75 70 65 72 2d 75 73 65 72 2e 0a 0a 20 20 20 20 20 5b 45 45 58 49 53 54 5d 20 20 20 20 20 20 20   ┆uper-user.       [EEXIST]       ┆
0x0e80…0ea0 54 68 65 20 6e 61 6d 65 64 20 66 69 6c 65 20 65 78 69 73 74 73 2e 0a 0a 20 20 20 20 20 5b 45 4e   ┆The named file exists.       [EN┆
0x0ea0…0ec0 4f 45 4e 54 5d 20 20 20 20 20 20 20 54 68 65 20 70 61 74 68 20 6e 61 6d 65 20 69 73 20 6c 6f 6e   ┆OENT]       The path name is lon┆
0x0ec0…0ee0 67 65 72 20 74 68 61 6e 20 7b 50 41 54 48 5f 4d 41 58 7d 20 63 68 61 72 2d 0a 20 20 20 20 20 20   ┆ger than {PATH_MAX} char-       ┆
0x0ee0…0f00 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 63 74 65 72 73 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f   ┆              acters.       [ENO┆
0x0f00…0f20 53 50 43 5d 20 20 20 20 20 20 20 54 68 65 20 64 69 72 65 63 74 6f 72 79 20 74 6f 20 63 6f 6e 74   ┆SPC]       The directory to cont┆
0x0f20…0f40 61 69 6e 20 74 68 65 20 6e 65 77 20 66 69 6c 65 20 63 61 6e 6e 6f 74 0a 20 20 20 20 20 20 20 20   ┆ain the new file cannot         ┆
0x0f40…0f60 20 20 20 20 20 20 20 20 20 20 20 20 62 65 20 65 78 74 65 6e 64 65 64 2e 0a 0a 20 20 20 20 20 5b   ┆            be extended.       [┆
0x0f60…0f80 45 4e 4f 54 44 49 52 5d 20 20 20 20 20 20 41 20 63 6f 6d 70 6f 6e 65 6e 74 20 6f 66 20 74 68 65   ┆ENOTDIR]      A component of the┆
0x0f80…0fa0 20 70 61 74 68 20 70 72 65 66 69 78 20 69 73 20 6e 6f 74 20 61 0a 20 20 20 20 20 20 20 20 20 20   ┆ path prefix is not a           ┆
0x0fa0…0fc0 20 20 20 20 20 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 2e 0a 0a 20 20 20 20 20 5b 45 50 45 52   ┆          directory.       [EPER┆
0x0fc0…0fe0 4d 5d 20 20 20 20 20 20 20 20 54 68 65 20 65 66 66 65 63 74 69 76 65 20 75 73 65 72 20 49 44 20   ┆M]        The effective user ID ┆
0x0fe0…1000 6f 66 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20   ┆of the process is not           ┆
0x1000…1020 20 20 20 20 20 20 20 20 20 20 73 75 70 65 72 2d 75 73 65 72 20 61 6e 64 20 74 68 65 20 66 69 6c   ┆          super-user and the fil┆
0x1020…1040 65 20 74 79 70 65 20 69 73 20 6e 6f 74 20 46 49 46 4f 20 73 70 65 2d 0a 20 20 20 20 20 20 20 20   ┆e type is not FIFO spe-         ┆
0x1040…1060 20 20 20 20 20 20 20 20 20 20 20 20 63 69 61 6c 2e 0a 0a 20 20 20 20 20 5b 45 52 4f 46 53 5d 20   ┆            cial.       [EROFS] ┆
0x1060…1080 20 20 20 20 20 20 20 54 68 65 20 64 69 72 65 63 74 6f 72 79 20 69 6e 20 77 68 69 63 68 20 74 68   ┆       The directory in which th┆
0x1080…10a0 65 20 66 69 6c 65 20 69 73 20 74 6f 20 62 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆e file is to be                 ┆
0x10a0…10c0 20 20 20 20 63 72 65 61 74 65 64 20 69 73 20 6c 6f 63 61 74 65 64 20 6f 6e 20 61 20 72 65 61 64   ┆    created is located on a read┆
0x10c0…10e0 2d 6f 6e 6c 79 20 66 69 6c 65 20 73 79 73 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆-only file sys-                 ┆
0x10e0…1100 20 20 20 20 74 65 6d 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55   ┆    tem.  R R R RE E E ET T T TU┆
0x1100…1120 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08   ┆ U U UR R R RN N N N V V V VA A ┆
0x1120…1140 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 55 70   ┆A AL L L LU U U UE E E E      Up┆
0x1140…1160 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f 6e 20 61 20 76 61 6c 75 65   ┆on successful completion a value┆
0x1160…1180 20 6f 66 20 30 20 69 73 20 72 65 74 75 72 6e 65 64 2e 20 20 4f 74 68 65 72 2d 0a 20 20 20 20 20   ┆ of 0 is returned.  Other-      ┆
0x1180…11a0 77 69 73 65 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 2d 31 20 69 73 20 72 65 74 75 72 6e 65 64 2c   ┆wise, a value of -1 is returned,┆
0x11a0…11c0 20 74 68 65 20 6e 65 77 20 66 69 6c 65 20 69 73 20 6e 6f 74 20 63 72 65 61 74 65 64 0a 20 20 20   ┆ the new file is not created    ┆
0x11c0…11e0 20 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 20   ┆  and _ e_ r_ r_ n_ o is set to ┆
0x11e0…1200 69 6e 64 69 63 61 74 65 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08   ┆indicate the error.  S S S SE E ┆
0x1200…1220 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53   ┆E EE E E E A A A AL L L LS S S S┆
0x1220…1240 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20   ┆O O O O      System Calls (2):  ┆
0x1240…1260 63 68 6d 6f 64 2c 20 65 78 65 63 2c 20 73 74 61 74 2c 20 75 6d 61 73 6b 2e 0a 0a 41 08 41 08 41   ┆chmod, exec, stat, umask.  A A A┆
0x1260…1280 08 41 50 08 50 08 50 08 50 50 08 50 08 50 08 50 4c 08 4c 08 4c 08 4c 49 08 49 08 49 08 49 43 08   ┆ AP P P PP P P PL L L LI I I IC ┆
0x1280…12a0 43 08 43 08 43 41 08 41 08 41 08 41 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08   ┆C C CA A A AT T T TI I I IO O O ┆
0x12a0…12c0 4f 4e 08 4e 08 4e 08 4e 20 55 08 55 08 55 08 55 53 08 53 08 53 08 53 41 08 41 08 41 08 41 47 08   ┆ON N N N U U U US S S SA A A AG ┆
0x12c0…12e0 47 08 47 08 47 45 08 45 08 45 08 45 0a 20 20 20 20 20 4e 6f 72 6d 61 6c 6c 79 2c 20 61 70 70 6c   ┆G G GE E E E      Normally, appl┆
0x12e0…1300 69 63 61 74 69 6f 6e 73 20 73 68 6f 75 6c 64 20 75 73 65 20 74 68 65 20 5f 08 6d 5f 08 6b 5f 08   ┆ications should use the _ m_ k_ ┆
0x1300…1320 64 5f 08 69 5f 08 72 20 72 6f 75 74 69 6e 65 20 74 6f 20 6d 61 6b 65 0a 0a 0a 0a 0a 0a 0a 20 20   ┆d_ i_ r routine to make         ┆
0x1320…1340 20 20 20 61 20 64 69 72 65 63 74 6f 72 79 2c 20 73 69 6e 63 65 20 74 68 65 20 66 75 6e 63 74 69   ┆   a directory, since the functi┆
0x1340…1360 6f 6e 20 5f 08 6d 5f 08 6b 5f 08 6e 5f 08 6f 5f 08 64 20 6d 61 79 20 6e 6f 74 20 65 73 74 61 62   ┆on _ m_ k_ n_ o_ d may not estab┆
0x1360…1380 6c 69 73 68 0a 20 20 20 20 20 64 69 72 65 63 74 6f 72 79 20 65 6e 74 72 69 65 73 20 66 6f 72 20   ┆lish      directory entries for ┆
0x1380…13a0 22 2e 22 20 28 74 68 65 20 64 69 72 65 63 74 6f 72 79 20 69 74 73 65 6c 66 29 20 61 6e 64 20 22   ┆"." (the directory itself) and "┆
0x13a0…13c0 2e 2e 22 0a 20 20 20 20 20 28 74 68 65 20 70 61 72 65 6e 74 2d 64 69 72 65 63 74 6f 72 79 29 20   ┆.."      (the parent-directory) ┆
0x13c0…13e0 61 6e 64 20 73 75 70 65 72 2d 75 73 65 72 20 70 72 69 76 69 6c 65 67 65 20 69 73 20 6e 6f 74 0a   ┆and super-user privilege is not ┆
0x13e0…1400 20 20 20 20 20 72 65 71 75 69 72 65 64 2e 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 20 20   ┆     required.  December 1990   ┆
0x1400…1420 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72   ┆                        TX Progr┆
0x1420…1440 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆ammer's Reference               ┆
0x1440…1460 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆                                ┆
0x1460…1468 0a 0a 0a 0a 0a 0a 0a 0a                                                                           ┆        ┆