Re: newfs_msdos and dvd-ram (fwsectors, fwheads)

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Fri, 04 Jul 2008 14:06:25 -0700
On Jul 4, 2008, at 1:36 PM, Andriy Gapon wrote:

> on 03/03/2008 21:46 Andriy Gapon said the following:
>> on 21/02/2008 15:27 Poul-Henning Kamp said the following:
>>> In message <47BD6F39.7080105_at_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.
>
> BTW, the same issue applies to md device too.
> I.e. if you would like to create a FAT image in a file, newfs_msdos  
> won't let you.
>
>> 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?

Note that this problem is already solved with GPart. As
long as you have some partitioning scheme on the media,
GPart will synthesize CHS parameters.

FYI,

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Fri Jul 04 2008 - 19:06:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC