🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #6170

tin and Lockfiles (newbie Q.)

#6170
From: Paul Gilmartin
Date: Tue, 05 Oct 1993 16:55
24 lines
1774 bytes
Forgive a probably naive question from a Unix novice:

I notice that tin creates lockfiles in my /tmp directory.  I presume
these are part of a scheme to guard against corruption of .newsrc
and .tin/* files by concurrent updates by different processes.

However, .newsrc and .tin are in my $HOME directory which is
accessible (through nfs) from several dozen workstations in
the department; I can rlogin to any of these.  On the other hand,
each workstation keeps its /tmp directory on local DASD and does
not export it to nfs.  So I can start sessions on several
workstations and they'll each be ignorant of each others' lockfiles.

I suspect our configuration is not extraordinary; the design seems
to make sense: a user's home directory is accessible wherever he
starts a session; net bandwidth is not cluttered by /tmp traffic.

The question is, what do the lockfiles actually protect?  To be
effective, shouldn't the lockfiles have to be on the same
filestructure as $HOME, or at least on a filestructure with
equivalent visibility?

Thanks,
gil
Technical Details
Message-ID: <CEFoBs.HHw@stortek.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!server!sanitas!pg

Show Full Headers
Complete Article Headers
Message-ID: <CEFoBs.HHw@stortek.com>
Subject: tin and Lockfiles (newbie Q.)
Date: Tue, 5 Oct 1993 16:55:03 GMT
From: pg@sanitas.stortek.com (Paul Gilmartin)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!server!sanitas!pg
Newsgroups: news.software.readers
Sender: usenet@stortek.com
Nntp-Posting-Host: sanitas.stortek.com
Organization: Storage Technology Corporation
X-Newsreader: TIN [version 1.1 PL9]
Lines: 24