[parted-devel] print devices
Otavio Salvador
otavio at debian.org
Wed Dec 6 22:36:54 CET 2006
"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.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: otavio at debian.org UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
More information about the parted-devel
mailing list