bug-parted
[Top][All Lists]
Advanced

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

Re: _probe_with_open bug?


From: Andrew Clausen
Subject: Re: _probe_with_open bug?
Date: Sun, 17 Jun 2001 09:01:33 +1000
User-agent: Mutt/1.2.5i

On Thu, Jun 14, 2001 at 07:16:58PM -0400, Matt Wilson wrote:
> Currently if we have two filesystems detected with
> ped_file_system_probe and only one of them has an open function, we
> loose and get nothing.  In this case we have a NTFS signature and a
> valid linux-swap "filesystem".  Wouldn't it be better to let the
> linux-swap filesystem open win?

Yep, I guess... for now.

In the long term, I'll make probe() return a PedGeometry, and compare
it against what's in the partition table entry, or whatever.

Much better heuristic, I suspect.  Also useful for gpart-like
functionality.  I'm a bit worried about people doing mkfs on
an existing partition though... you get identical PedGeometry's...
so I guess you still need to resort to this open_with_probe thing :/

Andrew Clausen



reply via email to

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