🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4966

Re: Tin trashing newsrc

#4966
From: Tom J Parry
Date: Fri, 16 Jul 1993 13:52
28 lines
2121 bytes
Hsiao-Yang Cheng (sycheng@csie.nctu.edu.tw) wrote:
> Mitra (mitra@path.net) wrote:

> > Tin 1.2PL0 just trashed my .newsrc, the problem was running Tin in two
> > windows at the same time, I saw an error message (couldnt write or
> > something like that) flash by on one of the windows, and when I next
> > entered Tin there was a .newsrc file with only one conference in it.

> > I agree its a stupid thing to run tin twice - and I deserved having to
> > retrieve the file from tape - but I think Tin should either lock itself
> > so it cant be run twice, or alternatively lock .newsrc before writing
> > it. 

>   No, I don't think it's Tin's problem. Maybe in that time your quota or home
> disk is full, so....
>   We usually run several Tin simm...

Tin does not react very happily to a full disk. You'll get a 0 length
.newsrc on the first write with a decent backup hanging around and the next
.newsrc write nukes the backup. Many an irate user around here (where disk
space on some user filesystems is tight) has begged this to be fixed. I
think that the .newsrc writing code should check results and and write
.newsrc to a .newsrc.new and rename it to .newsrc iff the write to
.newsrc.new is 100% successful.

-- 
Tom J Parry.
Your reality is a figment of my imagination.
Technical Details
Message-ID: <1993Jul16.135250.646@monu6.cc.monash.edu.au>
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!noc.near.net!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
References: <CA847K.C1p@pandora.sf.ca.us> <225hmd$atq@news.csie.nctu.edu.tw>

Show Full Headers
Complete Article Headers
Message-ID: <1993Jul16.135250.646@monu6.cc.monash.edu.au>
Subject: Re: Tin trashing newsrc
Date: Fri, 16 Jul 1993 13:52:50 GMT
From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
References: <CA847K.C1p@pandora.sf.ca.us> <225hmd$atq@news.csie.nctu.edu.tw>
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!noc.near.net!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
Newsgroups: news.software.readers
Originator: parry@yoyo.cc.monash.edu.au
Lines: 24
Sender: news@monu6.cc.monash.edu.au (Usenet system)
Organization: Monash University, Melb., Australia.