newfs_msdos and dvd-ram (fwsectors, fwheads)
Marcel Moolenaar
xcllnt at mac.com
Fri Jul 4 21:26:10 UTC 2008
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
More information about the freebsd-fs
mailing list