[Top][All Lists]

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

Re: In need of an explaination of a parted command...

From: K.G.
Subject: Re: In need of an explaination of a parted command...
Date: Sun, 2 Oct 2005 20:54:12 +0200

On Sun, 2 Oct 2005 14:16:47 -0400 Gary Greene <address@hidden> wrote:

> I'm hard at work creating an installer for the PhoeNUX OS distribution and am 
> using GNU PartEd to create the partitions for the install, however I've found 
> that I need an explaination of the help documentation concerning mkpart. In 
> the docs, it says that mkpart's start option is the offset or the "distance" 
> from the start of the drive. The issue I need cleared up is whether this is 
> in blocks or Mb. Can you please clarify this for me? Thanks.

Parted 1.6.23 introduced support for many differents units, including sectors
and Mb. You select the unit with the "unit" command (exemple: "unit s" selects
the sector unit, "unit mb" selects the megabyte unit).
By default Parted uses the "compact" unit which means it automaticaly selects
the best one for output and take input in MB.
You can also write any unit after the value when parted ask you an input, for
exemple if you're in "compact" mode but want to use sectors to specify a
start, you can just write "1324984s", then if you want kb for the end 

Guillaume Knispel

reply via email to

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