From owner-freebsd-questions Sat May 6 12:12:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 7B3D837BCF6 for ; Sat, 6 May 2000 12:12:08 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e46JhAl13609; Sat, 6 May 2000 12:43:10 -0700 (PDT) Date: Sat, 6 May 2000 12:43:10 -0700 From: Alfred Perlstein To: Dmitry Koltsov Cc: freebsd-questions@freebsd.org Subject: Re: Re[2]: nfs: soft mountig trouble Message-ID: <20000506124310.B15613@fw.wintelcom.net> References: <20000506105130.A15613@fw.wintelcom.net> <4951.000506@hostonfly.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <4951.000506@hostonfly.com>; from root@hostonfly.com on Sat, May 06, 2000 at 10:49:47PM +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > ???????, 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. > * Dmitry Koltsov [000506 12:21] wrote: > 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. Ok, then I'm totally at a loss, can you try to rephrase the question? If you don't want the program to error, then don't use 'soft', only use 'intr' -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message