🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Mitra Thu, 15 Jul 1993 20:42
Tin trashing newsrc
#4957
Author: Mitra
Date: Thu, 15 Jul 1993 20:42
12 lines
1103 bytes
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. 

- Mitra
Re: Tin trashing newsrc
#4960
Author: Hsiao-Yang Cheng
Date: Fri, 16 Jul 1993 06:26
21 lines
1817 bytes
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...

--
System Manager of Computer Center          |     Sincerely Yours
Computer Science & Information Engineering | Cheng, Hsiao-Yang ( �� �� �� )  
National Chiao Tung University             | sycheng@csie.nctu.edu.tw
Taiwan, Republic of China                  | sycheng@csunix.csie.nctu.edu.tw
Re: Tin trashing newsrc
#4966
Author: 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.
Re: Tin trashing newsrc
#4970
Author: Hsiao-Yang Cheng
Date: Sat, 17 Jul 1993 03:23
17 lines
1817 bytes
Tom J Parry (parry@yoyo.cc.monash.edu.au) wrote:

> 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.

  Yes, good suggestion.

--
System Manager of Computer Center          |     Sincerely Yours
Computer Science & Information Engineering | Cheng, Hsiao-Yang ( �� �� �� )  
National Chiao Tung University             | sycheng@csie.nctu.edu.tw
Taiwan, Republic of China                  | sycheng@csunix.csie.nctu.edu.tw
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