From owner-freebsd-stable Mon Jun 4 22:17:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id DCADA37B401 for ; Mon, 4 Jun 2001 22:17:14 -0700 (PDT) (envelope-from bp@butya.kz) Received: by relay.butya.kz (Postfix, from userid 1000) id DFA4B28B65; Tue, 5 Jun 2001 12:17:03 +0700 (ALMST) Received: from localhost (localhost [127.0.0.1]) by relay.butya.kz (Postfix) with ESMTP id CF6A428A30; Tue, 5 Jun 2001 12:17:03 +0700 (ALMST) Date: Tue, 5 Jun 2001 12:17:03 +0700 (ALMST) From: Boris Popov To: Niek Bergboer Cc: freebsd-stable@freebsd.org Subject: Re: smbfs: disconnected servers In-Reply-To: <20010530103558.A31220@wit379119.student.utwente.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 30 May 2001, Niek Bergboer wrote: > However, the problems begin when somebody whose share I mounted > decides to switch off his computer: I (obviously) cannot read from the > mountpoint anymore, but there also is _no way_ of forcefully > unmounting the share anymore. > > One might say that this is logical since there is no way to > communicate a decent "logoff" packet to the (now switched off) server. > However, I'm left with a dead mountpoint that doesn't respond to > anyting anymore and cannot be unmounted. Hmm, strange. unmount command should work on the dead share. It might take a while because some timeouts have to occur. > How difficult (and desirable) would it be to implement either one of > the following two options in smbfs: > > 1. The ability to reconnect to a server: suppose a server switches > off, and switches on again the following day. This is already done - a reconnect procedure happens after share detected as dead. > 2. The ability to forcefully unmount the share on my local machine, to > such an extent that if the server cannot be contacten within a > specified amount of time, that the entry is bluntly deleted from the > kernel's internal list of mounted filesystems (or something along > those lines). As I said it should work, but there is always room for bugs :) -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message