LIBRMT(3L)
π LIBRMT(3L) β the remote magtape protocol client interface library π
okay so bestie, welcome to librmt, a.k.a. the remote magtape protocol client interface library β and yes, you link it with -lrmt, no cap. It lives in SchilyΒ΄s LIBRARY FUNCTIONS (section 3L of your fave manual set), and it's genuinely iconic for talking to tape servers on other machines. let's get into it π
β¨ SYNOPSIS β¨
#include <schily/librmt.h>
that's it. one include and you're in, periodt. π
πΈ DESCRIPTION πΈ
so the functions in this library hand you an interface to a remote tape server program. that's the whole vibe β you stay on your machine, the tape lives somewhere else, and librmt handles the talking. π¦
this implementation takes care of RMT protocol VERSION 1, which is the version you need in case that the rmt client and the rmt server do not run on the same OS and use a CPU with the same bit width and byte order. yep, very specific, very demure, very important. π
plus β and this is the slay part β this implementation also supports a GNU extension that lets you use open(2) flags beyond O_RDONLY, O_WRONLY, O_RDWR. more flags, more power, no cap. π₯
π ENVIRONMENT π
RSHβ if theRSHenvironment variable is present, the remote connection will not be created viarcmd(3); instead it'll be made by calling the program thatRSHpoints to. use e.g.RSH=/usr/bin/sshto create a secure shell connection. π and heads up: if the environmentRSHis empty, then the defaultrcmd(3)is used even in casermtrsh(3)has been called. so empty β unset, bestie, write that down. πRMTβ if theRMTenvironment variable is present, the remote tape server will not be the program/etc/rmt; instead it'll be the program thatRMTpoints to. π― and same deal: if the environmentRMTis empty, then the default/etc/rmtis used even in casermtrmt(3)has been called.
also note that the remote tape server program name will be ignored if you log in using an account that has been created with a remote tape server program as login shell. so if that's your setup, this whole variable is lowkey doing nothing β sorry, i don't make the rules. π
π INTERFACES π
the whole squad, fr fr:
rmtinit(3), rmtdebug(3), rmtrmt(3), rmtrsh(3), rmthostname(3), rmtfilename(3), rmtgetconn(3), rmtopen(3), rmtioctl(3), rmtclose(3), rmtread(3), rmtwrite(3), rmtseek(3), rmtxstatus(3), rmtstatus(3), _mtg2rmtg(3), _rmtg2mtg(3)
that's the whole group chat. π«Ά
π¦ SEE ALSO π¦
rmt(1), rsh(1), ssh(1), rcmd(3)
go read those too, they're the supporting cast and they ate. β¨
π BUGS π
None currently known. clean sheet, flawless record, we love to see it. π
mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues β they actually want to hear from you, bestie. π
the mailing list archive may be found at:
https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de.
π§ AUTHORS π§
librmt has been written in 1990 by Joerg Schilling β a genuine vintage icon, main character energy since the 90s. π in 1995, support for RMT VERSION 1 has been added. librmt is now maintained by the schilytools project authors. legends only. π
β SOURCE DOWNLOAD β
the source code for librmt and rmt is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at
https://codeberg.org/schilytools/schilytools.
the download directory is
https://codeberg.org/schilytools/schilytools/releases.
and that's the page, bestie!! written by Joerg Schilling on 2022/09/11, formatted for LIBRMT(3L) β go forth and tape remotely, you absolute icon πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: librmt-devel-doc 2022.10.16-160000.2.2 Β· CDDL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms