From owner-freebsd-questions Sat May 6 11:50:54 2000 Delivered-To: freebsd-questions@freebsd.org Received: from server1.flyinghosting.com (www.flyhost.com [216.65.103.162]) by hub.freebsd.org (Postfix) with ESMTP id C287A37BD3C for ; Sat, 6 May 2000 11:50:46 -0700 (PDT) (envelope-from root@hostonfly.com) Received: from 213.221.48.16 ([213.221.48.16]) by server1.flyinghosting.com (8.9.3/8.9.3) with ESMTP id TAA92638; Sat, 6 May 2000 19:50:02 GMT Date: Sat, 6 May 2000 22:49:47 +0400 From: Dmitry Koltsov X-Mailer: The Bat! (v1.38e) S/N A1D26E39 / Educational Reply-To: Dmitry Koltsov X-Priority: 3 (Normal) Message-ID: <4951.000506@hostonfly.com> To: Alfred Perlstein Cc: freebsd-questions@freebsd.org Subject: Re[2]: nfs: soft mountig trouble In-reply-To: <20000506105130.A15613@fw.wintelcom.net> References: <20000506105130.A15613@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG as you can see - my mount command uses option '-i'. and i can interrupt process. but i need that process stopped attempts of access and gave out a error after 1-2 attempts. Best regards, Dmitry Koltsov Host On Fly S.A. mailto:root@hostonfly.com суббота, 6 мая 2000 г., you wrote to me: AP> * Dmitry Koltsov [000506 05:56] wrote: >> >> I use mount command: >> >> "mount_nfs -i -s -d -R1 -a1 -t1 -x1 xxx.xxx.xxx.xxx:/usr/local/t /usr/local/t" >> >> after that I'm put down interfeace on xxx.xxx.xxx.xxx, >> and then I try to accesss mounted file system: >> >> "ls /usr/local/t" >> >> in some seconds i receive message from ls process >> >> "nfs server xxx.xxx.xxx.xxx:/usr/local/t: not responding" >> >> But process still tryes to get access to nfs server. It occurs while I >> shall not kill process. It is necessary for me, that process stopped >> attempts of access and gave out a mistake after 1-2 attempts. >> How it to realize? AP> Soft mounts don't allow you to interrupt the process hung on the AP> mount, you need 'intr' (another mount option) for that. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message