Variant
descriptor-type
The type of a filesystem object referenced by a descriptor.
variant descriptor-type {
block-device,
character-device,
directory,
fifo,
symbolic-link,
regular-file,
socket,
other(option<string>),
}Cases
| Case | Payload | Description |
|---|---|---|
| block-device | — | The descriptor refers to a block device inode. |
| character-device | — | The descriptor refers to a character device inode. |
| directory | — | The descriptor refers to a directory inode. |
| fifo | — | The descriptor refers to a named pipe. |
| symbolic-link | — | The file refers to a symbolic link inode. |
| regular-file | — | The descriptor refers to a regular file inode. |
| socket | — | The descriptor refers to a socket. |
| other | option<string> | The type of the descriptor or file is different from any of the other types specified. |