Subject: Re: new kpi proposal, sysdisk(9)
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Elad Efrat <elad@NetBSD.org>
List: tech-kern
Date: 12/28/2006 10:23:37
YAMAMOTO Takashi wrote:
>> what it does is very simple: keeps tracks of disks used by the system.
>> kind of like a generic 'mountlist', only that it'd include devices
>> covered by raidframe and swap devices, for example.
> 
> i think it's better to have appropriate info in
> struct specinfo or struct disk or such,
> rather than having another global list for this.

I don't think any of the above will be as easy to interact with as with
the interface I proposed. do you have idea on how to achieve the same
(for mounts, swap devices, raidframe, and potentially other subsystems;
that's the tricky part ;) with struct specinfo or struct disk?

-e.