From owner-freebsd-current@FreeBSD.ORG Mon Mar 3 20:12:41 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE202106566B; Mon, 3 Mar 2008 20:12:41 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from hosted.kievnet.com (hosted.kievnet.com [193.138.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7155E8FC19; Mon, 3 Mar 2008 20:12:41 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from [91.193.172.111] by hosted.kievnet.com with esmtpa (Exim 4.62) (envelope-from ) id 1JWGcm-000Kc2-5c; Mon, 03 Mar 2008 21:47:00 +0200 Message-ID: <47CC55B0.4020607@icyb.net.ua> Date: Mon, 03 Mar 2008 21:46:56 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071208) MIME-Version: 1.0 To: Poul-Henning Kamp References: <889.1203600472@critter.freebsd.dk> In-Reply-To: <889.1203600472@critter.freebsd.dk> Content-Type: text/plain; charset=KOI8-U Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Subject: Re: newfs_msdos and dvd-ram (fwsectors, fwheads) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 20:12:41 -0000 on 21/02/2008 15:27 Poul-Henning Kamp said the following: > In message <47BD6F39.7080105@icyb.net.ua>, Andriy Gapon writes: >> 2) fake those properties in newfs_msdof; >> benefit: this would help with other physical devices that can host >> FAT; > > This is the way to do it, but it might make sense to make a library > routine do it, to get consistent behaviour. I opened a PR for this approach in a simple form. http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/121182 What could be a good place to put thing for re-use/sharing? libutil? -- Andriy Gapon