[parted-devel] 'print free': does not work

Otavio Salvador otavio at debian.org
Thu Nov 30 01:00:35 CET 2006


"Debarshi 'Rishi' Ray" <debarshi.ray at gmail.com> writes:

> Strangely the 'print free' command does not seem to work as it is
> supposed to. The output is identical to the one given by 'print'. The
> reason for this seems to be the fact that there is simply no code to
> show the free space in 'do_print' in parted/parted.c. If one searches
> for the occurences of the variable 'has_free_arg' you will understand
> what I mean to convey.
>
> Is the code really missing, or something else is the issue here? If it
> is really missing, then should I implement it the way the 'df' command
> does-- using the statvfs system call?

Can you provide an example output and point what's the problem on it?

-- 
        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