Re: newfs_msdos and dvd-ram (fwsectors, fwheads)
In message <47BD6F39.email@example.com>, Andriy Gapon writes:[color=blue]
>on 17/02/2008 13:39 Andriy Gapon said the following:[/color]
>I see two approaches:
>1) fake those properties in device drivers, primarily cd(4) and acd(4);
> benefit: this can help other utilities besides newfs_msdos[/color]
The geom attributes are provided if they are available only.
It is the responsibility of the application code to decide
and handle their absence.
>2) fake those properties in newfs_msdof;
> benefit: this would help with other physical devices that can host
This is the way to do it, but it might make sense to make a library
routine do it, to get consistent behaviour.
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[email]phk@FreeBSD.ORG[/email] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
[email]firstname.lastname@example.org[/email] mailing list
To unsubscribe, send any mail to "email@example.com"