Scroll to navigation

diodcli(8) diod diodcli(8)

NAME

diodcli - perform file operations by attaching directly to diod server

SYNOPSIS

diodcli [OPTIONS] read PATH
diodcli [OPTIONS] write PATH
diodcli [OPTIONS] mkdir PATH
diodcli [OPTIONS] stat PATH
diodcli [OPTIONS] ls [--long] [PATH ...]
diodcli [OPTIONS] null
diodcli [OPTIONS] getxattr PATH NAME
diodcli [OPTIONS] setxattr [--create|--replace] PATH NAME VALUE
diodcli [OPTIONS] delxattr PATH NAME
diodcli [OPTIONS] showmount [--long]
diodcli [OPTIONS] date [--set-time]

DESCRIPTION

diodcli connects to a diod server, attaches to the mount point aname, and performs a file operation.

OPTIONS

These are the options that apply to all subcommands:

The file system name on the server (default "ctl"). Note that the "ctl" synthetic file system must be explicitly exported.
The server in IP[:PORT], HOST[:PORT], or /path/to/socket form (default localhost:564).
The maximum request size including 9P headers (default 65536).
Try to attach to the server as the specified user (default your effective uid).
Connect from a socket bound to a port in the range of 512-1023, available to root only. This can be used in conjunction with the privport export option.
Show 9P protocol on stderr.

SUBCOMMANDS

Read a file and write to stdout.
Read stdin to EOF and write to a file.
Create a directory.
Display file status. The compatible stat(1) format string is:

mode=%f owner=%u:%g size=%s blocks=%b blocksize=%o links=%h \
device=%t:%T mtime=%Y ctime=%Z atime=%X
List directory contents.
Once attached, do nothing.
Get the value of an extended attribute.
Set the value of an extended attribute.
Remove an extended attribute.
List the server's connected clients. By default, the client list is compressed into one line in hostlist form, with domain suffixes removed. With --long, the clients are listed one per line, without compression or abbreviation.
Show the server system time. If --set-time is specified, the local system time is updated to match the server's. This may be useful in a pre-boot environment prior to authenticating with MUNGE, to avoid running afoul of its replay attack prevention.

SEE ALSO

diod (8)

1.1.0 diod