Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src

On Jan 30, 2011, at 1:35 PM, Simon Burge wrote:

> Matt Thomas wrote:
>> On Jan 28, 2011, at 3:38 PM, matthew green wrote:
>>>> disklabel.h should export nothing to userland and values userland
>>>> needs should be obtained via sysctl.
>>>> I've been asking this question of various developers for a while.
>>> how do i create a disklabel on a file system image as a normal
>>> user a non-netbsd host with this method?
>> But that would be a hosted tool and that's a different case than 
>> a native tool.  
> Where would the hosted tool get that information from?  If it's from a
> MD header file we're back to where we started...

Why?  hosted != native.  I don't expect a tool to be built on linux to
know where to get a disklabel from.

I do expect the native on NetBSD to know how to get the disklabel location
for the current machine it's running on from sysctl and not a header file.

Home | Main Index | Thread Index | Old Index