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

Re: Detect already installed partitions.



On Tue, Dec 30, 2008 at 02:47:58PM +0530, Rabbul Nawaz wrote:
> Thanks for the quick respose. Installing libparted, and all its dependencies 
> including all the libraries inside the rootfs environment would definetely 
> increase the size of the rootfs. Moreover it would require a static 
> compilation. Is there any other way, by which I can just get the 
> partition-label information which is lighter than using libparted.

parted actually reads data from the partition to get at the labels.
AFAIK, this data is not available through the kernel.

-- 
<Lo-lan-do> Home is where you have to wash the dishes.
  -- #debian-devel, Freenode, 2004-09-22


Reply to: