Xref: utzoo news.software.b:1942 comp.unix.wizards:14769 comp.unix.microport:2863 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!ames!amdahl!pacbell!sactoh0!tree!stever From: stever@tree.UUCP (Steve Rudek) Newsgroups: news.software.b,comp.unix.wizards,comp.unix.microport Subject: Need to patch inews/rnews so it will watch for inode underflow Keywords: inews/rnews, inode_count Message-ID: <222@tree.UUCP> Date: 18 Feb 89 19:41:04 GMT Organization: TREE BBS (916)-349-0385 Sacramento, Ca Lines: 11 Once upon a time I thought 70 megs of storage was massive; then I met usenet! Now every night before I go to bed I say a little prayer that I won't awake to an inode underflow caused by an inews that is too stupid to look before it leaps. Does anyone have a patch for inews which will give it a little intelligence and allow it to exit rather than corrupt the inode table? If not, can anyone provide me with a C routine to count inodes? I suppose I could periodically run "df -t" as a child of inews and catch the result via a pipe . . . but that would be ugly and slow.