From owner-freebsd-questions@FreeBSD.ORG Mon May 23 01:14:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9A0116A41C for ; Mon, 23 May 2005 01:14:49 +0000 (GMT) (envelope-from gpeel@thenetnow.com) Received: from constellation.thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9164E43D49 for ; Mon, 23 May 2005 01:14:49 +0000 (GMT) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.43) id 1Da1Wp-0003Cq-MP for freebsd-questions@freebsd.org; Sun, 22 May 2005 21:14:47 -0400 Message-ID: <000701c55f34$d08c2230$6601a8c0@GRANT> From: "Grant Peel" To: Date: Sun, 22 May 2005 21:14:44 -0400 Organization: The Net Now MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: nfs check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 01:14:49 -0000 Hi all, I have a number of boxes that backup data to an nfs mount. A few times in the recent past, I have had the mount go stale for various reasons which caused problems with the dumps. Does anyone have access to to (what I assume would be) a few lines of code that would check to see if the the needed file system IS indeed mounted before attemping the dump? -Grant