Bug#354991: [Parted-maintainers] Bug#354991: installation-report: Partman fails to detect windows LDM partitions

Sven Luther sven.luther at wanadoo.fr
Mon Mar 6 20:56:43 UTC 2006


On Mon, Mar 06, 2006 at 02:53:39PM -0600, Harley D. Eades III wrote:
> Sven Luther wrote:
> 
> >On Sun, Mar 05, 2006 at 04:37:10PM -0500, Joey Hess wrote:
> > 
> >
> >>Philip Armstrong wrote:
> >>   
> >>
> >>>If there was a way to get partman to not use parted to detect the
> >>>partitions, but to just use the existing kernel detected ones in
> >>>/proc/partitions (which of course would not be editable) then that
> >>>would at least allow pre-existing partitions to be used by the
> >>>installer. Perhaps partman is too closely intertwined with parted for
> >>>this to be possible -- I haven't looked.
> >>>     
> >>>
> >>partman uses parted to create and format partitions. This really needs
> >>to be fixed in parted I suppose.
> >>   
> >>
> >
> >See my proposal about this, we really need a fallback on the 
> >/proc/partitions
> >to provide read-only partitions in case where parted/libparted is not 
> >working,
> >instead of just proposing to over-write the partition table like it is done
> >now.
> > 
> >
> Is'nt this a GNU/Linux only kinda thing? GNU/Hurd doesn't have a /proc nor
> does say the BSD's.  I think this could be used only if the OS is infact 
> running
> Linux (the kernel).

Well, /proc/partitions on linux, and whatever replaces it on hurd or *bsd,
obviously, the idea is to not 100% rely on libparted to do the right thing,
but have a fallback, before proposing to the user to kill all his data by
writing a brand new partition table on his disk.

Friendly,

Sven Luther





More information about the Parted-maintainers mailing list