From owner-cvs-src@FreeBSD.ORG Thu Jan 15 10:38:18 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C11A16A4CE; Thu, 15 Jan 2004 10:38:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E385443D69; Thu, 15 Jan 2004 10:38:15 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0FIcF0B035438; Thu, 15 Jan 2004 10:38:15 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0FIcFL3035437; Thu, 15 Jan 2004 10:38:15 -0800 (PST) (envelope-from jhb) Message-Id: <200401151838.i0FIcFL3035437@repoman.freebsd.org> From: John Baldwin Date: Thu, 15 Jan 2004 10:38:15 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libstand splitfs.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 18:38:18 -0000 jhb 2004/01/15 10:38:15 PST FreeBSD src repository Modified files: lib/libstand splitfs.c Log: - Move the code to try to open a single chunk file and prompt for the associated floppy if needed into a static split_openfile() function. - Use this function in splitfs_open() to open the first chunk rather than using open() directly. This allows the first chunk to be located on a different disk than the actual foo.split file. Revision Changes Path 1.5 +31 -12 src/lib/libstand/splitfs.c