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

Re: Detect already installed partitions.



On Tuesday 30 December 2008, Rabbul Nawaz wrote:
> I am working on deepOfix, one of the distribution of GNU/Linux which
> follows debian based packaging [ http://code.deeproot.in/deepofix/ ]. I
> would like to know, the procedure how the debian-installer detects the
> existing partition labels and displays them. I mean when we select
> "manual partition", during the installation, the installer shows the
> existing partitions. I am able to get the partition table information
> from the /proc/partitions in the installer environment of deepOfix, but
> would  like to display the partition-labels information also, as debian
> does.

The partitioning program uses libparted to get details of the current 
partitioning of the system and to make changes to the partitioning. The 
interaction between the scripted part of partman and libparted is through 
a C program called parted_server.

Cheers,
FJP

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: