Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!linac!att!ucbvax!dog.ee.lbl.gov!gabs.lbl.gov!gabby From: gabby@gabs.lbl.gov (Gabby Obegi) Newsgroups: comp.sys.hp Subject: Re: amd on HP9000/400 HP-UX 7.03 Keywords: amd automount Message-ID: <11229@dog.ee.lbl.gov> Date: 21 Mar 91 01:14:40 GMT References: <11226@dog.ee.lbl.gov> <1991Mar20.141019.20796@viewlogic.com> Reply-To: G_Obegi@lbl.gov Organization: Lawrence Berkeley Laboratory Lines: 32 X-Local-Date: Wed, 20 Mar 91 17:14:40 PST Looks like I screwed up in reposting mark's patch, here it is again: *** mtab_file.c~ Sun Jun 24 09:17:07 1990 --- mtab_file.c Wed Sep 26 22:57:01 1990 *************** *** 207,213 **** plog(XLOG_ERROR, "Couldn't write %s: %m", mtab); endmntent(mfp); } else { ! if (errno == ENFILE && retries < NFILE_RETRIES) { sleep(1); goto enfile; } --- 207,215 ---- plog(XLOG_ERROR, "Couldn't write %s: %m", mtab); endmntent(mfp); } else { ! if (errno == EACCES || errno == EAGAIN) { ! goto enfile; ! } else if (errno == ENFILE && retries < NFILE_RETRIES) { sleep(1); goto enfile; } ============================================================================= Gabby Obegi, CAE Systems Manager Lawrence Berkeley Laboratory MS 90-2148 (415) 486-5209 1 Cyclotron Rd Fax: (415) 486-6668 Berkeley, CA. 94720 Internet: G_Obegi@LBL.gov =============================================================================