From owner-cvs-src-old@FreeBSD.ORG Fri Feb 27 17:34:13 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E4B31065676 for ; Fri, 27 Feb 2009 17:34:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id F09028FC18 for ; Fri, 27 Feb 2009 17:34:12 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1RHYCjY028676 for ; Fri, 27 Feb 2009 17:34:12 GMT (envelope-from avg@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1RHYClG028675 for cvs-src-old@freebsd.org; Fri, 27 Feb 2009 17:34:12 GMT (envelope-from avg@repoman.freebsd.org) Message-Id: <200902271734.n1RHYClG028675@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to avg@repoman.freebsd.org using -f From: Andriy Gapon Date: Fri, 27 Feb 2009 17:29:48 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/newfs_msdos newfs_msdos.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 17:34:13 -0000 avg 2009-02-27 17:29:48 UTC FreeBSD src repository Modified files: sbin/newfs_msdos newfs_msdos.c Log: SVN rev 189112 on 2009-02-27 17:29:48Z by avg newfs_msdos: allow to work with media that doesn't have any CHS params Either use parameters provided by user or make them up. The code for faking CHS params is borrowed from disklabel code. The logic for using user-provided and auto-guessed parameters is not perfect, so to speak. PR: bin/121182 Approved by: jhb (mentor) Revision Changes Path 1.26 +17 -5 src/sbin/newfs_msdos/newfs_msdos.c