From owner-cvs-all@FreeBSD.ORG Wed Dec 13 10:19:38 2006 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 7C0CD16A40F; Wed, 13 Dec 2006 10:19:38 +0000 (UTC) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2686E43CC2; Wed, 13 Dec 2006 10:18:10 +0000 (GMT) (envelope-from luigi@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 kBDAJcVl030437; Wed, 13 Dec 2006 10:19:38 GMT (envelope-from luigi@repoman.freebsd.org) Received: (from luigi@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBDAJceB030436; Wed, 13 Dec 2006 10:19:38 GMT (envelope-from luigi) Message-Id: <200612131019.kBDAJceB030436@repoman.freebsd.org> From: Luigi Rizzo Date: Wed, 13 Dec 2006 10:19:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/etc rc.initdiskless 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: Wed, 13 Dec 2006 10:19:38 -0000 luigi 2006-12-13 10:19:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) etc rc.initdiskless Log: MFC: sync with the version in -current, in detail: - put some common code in a function handle_remount(); - add better checks on non-existing directories to prevent error messages at run time; - introduce a function log() to help debugging diskless booting when things don't work; - modify the parsing of diskless_remount so you can add mount_nfs options after the pathname. You could use 'remount' to do something similar, but this way is more convenient because you don't have to hardwire the server name in the command. - document the above. Revision Changes Path 1.42.2.6 +54 -41 src/etc/rc.initdiskless