tech-userlevel archive

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

Re: mounting wedges by name

On Thu, Oct 28, 2010 at 11:07:41AM +0200, haad wrote:
> On Thu, Oct 28, 2010 at 2:48 AM, Michael van Elst 
> <> wrote:
> > On Wed, Oct 27, 2010 at 10:21:16PM +0200, Adam Hamsik wrote:
> >>
> >> Why do you want to remove DIOCGWEDGEINFO and what should be a replacement 
> >> for it ? DIOCGWEDGEINFO is already used by all of our tools and many 
> >> others to get information about available disk space from partition, 
> >> logical volume etc.
> >
> > I prefer to avoid multiple competing APIs.
> With who is this API competing ?

The suggestion was to access the wedge information with proplists
(like drvctl -p) instead of augmenting DIOCGWEDGEINFO with things
like the partition UUID. In that case we have two competing APIs
and DIOCGWEDGEINFO could be phased out.

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index