S6-FDHOLDER-TRANSFERDUMP(8)
π s6-fdholder-transferdump β the group-chat guide π
okay so bestie, this one's a real one. It's a page from the System Manager's Manual, and it's literally called s6-fdholder-transferdump β say that five times fast, I dare you. π«Ά
β¨ NAME β¨
s6-fdholder-transferdump β the way that this connects to two separate s6-fdholderd(8) daemons and transfers the entire content of the first one over to the second one. it's giving "moving day" energy, no cap. π¦β¨
πΈ SYNOPSIS πΈ
s6-fdholder-transferdump [-t timeoutfrom:timeoutto] pathfrom pathto
like, that's the whole vibe. two paths, maybe a timeout, we're done. π
π¦ DESCRIPTION π¦
So here's what's actually happening, bestie, and it's honestly iconic:
s6-fdholder-transferdump connects to an s6-fdholderd(8) server process that's listening on pathfrom, and it grabs the whole entire set of file descriptors from that server β with their identifiers and (when it's relevant) their expiration dates. the whole thing. all of it. π―
Then it connects to a different instance of s6-fdholderd(8) that's listening on pathto, and it stores that whole set of file descriptors in there. and listen β the set gets added to the second server, which means the second server keeps all the descriptors it was already holding. it's not a replacement situation, it's a "you get more friends" situation. π«Άπ¦
β οΈ ok so important bit, don't skip this: dumping the entire state ofs6-fdholderd(8)requires special authorizations. like, fr fr. make sure boths6-fdholderd(8)instances are configured to accept dump-getting and dump-setting requests from your client. if you need the details, go reads6-fdholderd(8). iykyk. π
And the classic use case β the reason this tool even exists, honestly β is when your main fd-holding daemon needs to upgrade, or has to restart for some reason. transferring all the file descriptors into another temporary fd-holding daemon instance means it can restart without losing any of the descriptors. it's literally the "hold my stuff while i go do this" maneuver and it ate. ππ₯
π OPTIONS π
-t timeoutfrom:timeouttoβ if the operations can't be processed withintimeoutfrommilliseconds (that's the connection topathfrom) ortimeouttomilliseconds (that's the connection topathto), then it fails with an error message. and ngl, communications with the servers should be near-instant, so this option is only here to protect users against programming errors β like connecting to the wrong socket, for instance. π it's a safety net, not a lifestyle. π
β EXIT STATUS β
0β Success. slay. π1β the source server denied the operation. the meanings of the error messages are explained ins6-fdholder-error-codes(7). π2β the destination server denied the operation. the meanings of the error messages are explained ins6-fdholder-error-codes(7). ππ100β Wrong usage. bestie, check your arguments. π111β System call failed β and this includes attempting to connect to a nonexistent socket, or one where nos6-fdholderd(8)daemon is listening. so like, is anyone even home? π«
π SEE ALSO π
s6-fdholder-daemon(8)s6-fdholder-delete(8)s6-fdholder-getdump(8)s6-fdholder-list(8)s6-fdholder-retrieve(8)s6-fdholder-setdump(8)s6-fdholder-store(8)s6-fdholderd(8)
This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6/s6-fdholder-transferdump.html β go read the source, it's iconic. πβ¨
π AUTHORS π
- Laurent Bercot
- Alexis <flexibeast@gmail.com> (man page port)
and that's the whole page, bestie β no notes, periodt. π β¨
π cute little sign-off: this one's from the Debian corner of the world, dated September 29, 2021, and it lives at S6-FDHOLDER-TRANSFERDUMP(8) in the manual. mwah. ππ¦πΈ
π¦ where this page comes from
- nixpkgs unstable: s6 2.15.1.0
- nixpkgs unstable: s6-man-pages 2.14.0.1.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms