🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Paul Gilmartin Tue, 05 Oct 1993 16:55
tin and Lockfiles (newbie Q.)
#6170
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads