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

Debarshi 'Rishi' Ray debarshi.ray at gmail.com
Wed Nov 29 21:42:08 CET 2006


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?

Happy hacking,
Debarshi
-- 
I only work when I am not doing any assignments.



More information about the parted-devel mailing list