FAXLOCK(8)

πŸ’– FAXLOCK β€” the girlies' guide to yeeting your fax server into LOCKWAIT πŸ’–

okay so bestie, you found a page from the System Manager's Manual section 8, and it's literally called faxlock. no cap, it's a whole little tool for bossing around a HylaFAX server. let's get into it ✨


✨ NAME ✨

faxlock β€” tell a HylaFAX server to switch to LOCKWAIT state πŸ¦‹


🌸 SYNOPSIS 🌸

/usr/sbin/faxlock [ -q dir ] modem

that's it. one little command, one modem, go off queen πŸ‘‘


πŸ’… DESCRIPTION πŸ’…

so basically, faxlock sends a message to a HylaFAX faxgetty(8) process that's servicing your modem, and it tells that process to change its state to LOCKWAIT. that's the whole vibe. sending a lil note, asking politely for a state change πŸ’Œ

now, the modem you hand it can be either of these two things:

  • the name β€” which is typically the last component of the terminal port the modem is attached to πŸŽ€
  • or the full name of the associated FIFO named pipe file, like FIFO.ttym2 for example 🫢

either one works, she's flexible like that πŸ’β€β™€οΈ


🌈 OPTIONS 🌈

  • -q dir β€” use a spooling area other than /var/spool/hylafax. like, if your spool lives somewhere else, this is how you tell her πŸ“

🧚 NOTES 🧚

okay this part is important so listen up πŸ“’ β€” when faxgetty changes its state to LOCKWAIT, it's gonna start looking for the UUCP lockfile for the device. and then β€” the moment the device is no longer locked β€” it proceeds to re-initialize the modem. so it's like, it waits, it checks, and then it does the thing. periodt πŸ’…


πŸ’œ FILES πŸ’œ

  • /var/spool/hylafax β€” the default spooling area ✨
  • /var/spool/hylafax/FIFO β€” the fifo for contacting faxq 🌸
also, if you want the complete discussion of the structure and content of the spooling area, go consult hylafax-server(5). she has the lore πŸ“–

πŸ‘‘ SEE ALSO πŸ‘‘

hylafax-server(5), faxq(8), faxgetty(8) πŸ’–


and that's the whole page, bestie!! this one came from the System Manager's Manual and she's dated March 3, 1995 πŸŽ€ like, an actual vintage icon. slay forever, faxlock πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from