bug-parted
[Top][All Lists]
Advanced

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

Re: libparted and the correct device path


From: Andrew Clausen
Subject: Re: libparted and the correct device path
Date: Sun, 4 Jul 2004 23:27:47 +1000
User-agent: Mutt/1.5.5.1+cvs20040105i

On Sun, Jul 04, 2004 at 02:29:24PM +0200, B.Hakvoort wrote:
> I'm sure this is a known matter and i'm curious about any solutions. I
> have some ideas to solve this, but first i like to know if the problem
> is still there. 
> 
> And maybe it's just me, doing something terribly wrong ;-)

I thought I had already solved this one (oops!).

A simple solution is to figure out the major/minor of the partition,
and to iterate through /proc/mounts, and compare major/minors.

So, libparted/linux.c should be fixed.  Feel inspired to write a patch?
I'm going to be very busy in the next 2 weeks.

Cheers,
Andrew





reply via email to

[Prev in Thread] Current Thread [Next in Thread]