dioddate(8)
β¨ dioddate(8) β get server system time β¨
ok so bestie, welcome to dioddate from the diod manual π
this one's short but it's lowkey a lifesaver, trust.
π NAME π
dioddate β gets the server's system time, that's the whole job, and it ate π
π¦ SYNOPSIS π¦
dioddate [OPTIONS] [-s NAME] [file [file...]]
πΈ DESCRIPTION πΈ
okay so picture this: you need the current system time and zone info from a diod server, and dioddate is your girl β she gets it by reading ctl:date. icon behavior π
So here's the vibe check on what happens next. If you pass the --set-time option, she sets the local system time on the client. If you don't, she just prints the server time on stdout and minds her business β¨
And why do you care? Because this is literally a simple way to get rough time synchronization before you issue a MUNGE-authenticated attach request π«Ά like, fr fr, think bootstrap environment where the "ctl" synthetic file system is exported with the "noauth" option. That's the moment she shines.
π OPTIONS π
-s,--serverNAME β the server, inIP[:PORT],HOST[:PORT], or/path/to/socketform. the default islocalhost:564π-m,--msizeSIZE β the maximum request size including 9P headers, default65536π-u,--uidUID β try to attach to the server as the specified user, default is your effective uid (so like, you, bestie) π«΅-t,--timeoutSECS β force timeout after the specified number of seconds. default isno timeoutβ she'll wait forever, main character patience β³-S,--set-timeβ sets the local system time to match the server's time π₯ that's the one that actually changes stuff, so yk, be normal about it
β SEE ALSO β
diod(8) β go read her too, she's iconic
ngl there is no dramatic warning section here, but like β -S genuinely writes to your local clock, so maybe don't yeet it at production and then act surprised π
and that's the page!! luv u, go sync some time π§π
sign-off: this cutie lives in the diod manual, version 1.0-pre27-516-g0d87511 β catch her at dioddate(8) π
π¦ where this page comes from
- opensuse-leap 16.0: diod 1.0.24+53.g0d87511-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: diod 1.0.24+53.g0d87511-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: diod 1.0.24+53.g0d87511-bp160.1.13 Β· GPL-2.0-or-later
- opensuse-leap 16.0: diod 1.0.24+53.g0d87511-bp160.1.13 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms