[parted-devel] print devices
Gary L. Greene, Jr.
greeneg at phoenuxos.com
Wed Dec 6 22:26:32 CET 2006
On Wednesday 06 December 2006 16:36, Otavio Salvador wrote:
> "Debarshi Ray" <debarshi.ray at gmail.com> writes:
> > Please find attached a patch to implement the 'print devices' command.
> > It is meant to display all the active block devices, similar to the
> > way GParted does it.
> >
> > The function ped_unit_format_byte has a problem which causes it to
> > format a device of zero length as "-0.00kB". I have circumvented this
> > with a if-else branch, which can be removed once this bug is fixed.
> >
> > I have edited the 'help print' output too, and hav tried to arrange
> > the arguments in an alphabetical manner. However since the 'print'
> > command is getting more and more new arguments, would not it be a good
> > idea to arrange its help information in a better manner?
> >
> > What do you feel?
>
> I'm feeling fine... just kidding...
>
> Commited on stable-1.8.x and master branches.
<Lurker mode off>
Thanks for implementing that Debarshi. The PhoeNUX OS installer team will be
able to simplify getting device information because of that additional
command :) Keep up the good work.
</Lurker mode on>
--
Gary L. Greene, Jr.
Sent from: uriel.tolharadys.net
16:24:11 up 1 day, 3:08, 5 users, load average: 1.16, 1.14, 1.18
=========================================================================
Volunteer Developer for the PhoeNUX OS open source project
See http://www.phoenuxos.com/ for more information
=========================================================================
Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20061206/489b5a1a/attachment.pgp
More information about the parted-devel
mailing list