From owner-cvs-all@FreeBSD.ORG Fri Feb 2 23:58:11 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1494916A401; Fri, 2 Feb 2007 23:58:11 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E073A13C428; Fri, 2 Feb 2007 23:58:10 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l12NwAic049193; Fri, 2 Feb 2007 23:58:10 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l12NwAlV049192; Fri, 2 Feb 2007 23:58:10 GMT (envelope-from pjd) Message-Id: <200702022358.l12NwAlV049192@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Fri, 2 Feb 2007 23:58:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/mount Makefile mount.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 23:58:11 -0000 pjd 2007-02-02 23:58:10 UTC FreeBSD src repository Modified files: sbin/mount Makefile mount.c Log: Use pidfile(3) API to restart mountd(8) on success mount. This why we won't kill random process if there is a stale PID in /var/run/mountd.pid. Revision Changes Path 1.19 +3 -0 src/sbin/mount/Makefile 1.93 +25 -10 src/sbin/mount/mount.c